something
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
using LctMonolith.Models.Database;
|
||||
|
||||
namespace LctMonolith.Services.Interfaces;
|
||||
|
||||
public interface IMissionCategoryService
|
||||
{
|
||||
// CRUD should be enough
|
||||
Task<MissionCategory?> GetCategoryByIdAsync(Guid categoryId);
|
||||
Task<MissionCategory?> GetCategoryByTitleAsync(string title);
|
||||
Task<IEnumerable<MissionCategory>> GetAllCategoriesAsync();
|
||||
Task<MissionCategory> CreateCategoryAsync(MissionCategory category);
|
||||
Task<MissionCategory> UpdateCategoryAsync(MissionCategory category);
|
||||
Task<bool> DeleteCategoryAsync(Guid categoryId);
|
||||
}
|
||||
using LctMonolith.Models.Database;
|
||||
|
||||
namespace LctMonolith.Services.Interfaces;
|
||||
|
||||
public interface IMissionCategoryService
|
||||
{
|
||||
// CRUD should be enough
|
||||
Task<MissionCategory?> GetCategoryByIdAsync(Guid categoryId);
|
||||
Task<MissionCategory?> GetCategoryByTitleAsync(string title);
|
||||
Task<IEnumerable<MissionCategory>> GetAllCategoriesAsync();
|
||||
Task<MissionCategory> CreateCategoryAsync(MissionCategory category);
|
||||
Task<MissionCategory> UpdateCategoryAsync(MissionCategory category);
|
||||
Task<bool> DeleteCategoryAsync(Guid categoryId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user