mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 15:23:12 +00:00
14 lines
401 B
C#
14 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);
|
|
}
|
|
}
|