mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 20:03:11 +00:00
15 lines
401 B
C#
15 lines
401 B
C#
|
|
using Data.SeaHavenIndustries;
|
||
|
|
|
||
|
|
namespace SeaHaven.DataServices.Interfaces
|
||
|
|
{
|
||
|
|
public interface ICategoryDataService
|
||
|
|
{
|
||
|
|
Task<Category?> GetByIdAsync(int id);
|
||
|
|
Task<IEnumerable<Category>> GetAllAsync();
|
||
|
|
Task<Category> AddAsync(Category category);
|
||
|
|
Task UpdateAsync(Category category);
|
||
|
|
Task DeleteAsync(int id);
|
||
|
|
Task<bool> ExistsAsync(int id);
|
||
|
|
}
|
||
|
|
}
|