feat: DTOs and interfaces

This commit is contained in:
2025-09-29 17:45:55 +03:00
parent eab5db823b
commit 459f77bcc7
13 changed files with 165 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using GamificationService.Models.Database;
namespace GamificationService.Services.Interfaces;
public interface IMissionCategoryService
{
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);
}