shoc-backend/SeaHaven.DataServices/Interfaces/ICategoryDataService.cs
2026-04-28 18:55:14 -05:00

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);
}
}