mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
15 lines
512 B
C#
15 lines
512 B
C#
using Data.SeaHavenIndustries;
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
{
|
|
public interface ITaskListTemplateDataService
|
|
{
|
|
Task<TaskListTemplate?> GetByIdAsync(int id);
|
|
Task<TaskListTemplate?> GetByIdWithItemsAsync(int id);
|
|
Task<IEnumerable<TaskListTemplate>> GetAllAsync();
|
|
Task<TaskListTemplate> AddAsync(TaskListTemplate template);
|
|
Task UpdateAsync(TaskListTemplate template);
|
|
Task DeleteAsync(int id);
|
|
Task<bool> ExistsAsync(int id);
|
|
}
|
|
}
|