IBudgetCategoryAdminService.cs
520 bytes
| 1 | using App.BLL.DTO; |
|---|---|
| 2 | |
| 3 | namespace App.BLL.Services.Admin; |
| 4 | |
| 5 | public interface IBudgetCategoryAdminService |
| 6 | { |
| 7 | Task<List<BudgetCategoryBllDto>> GetAllAsync(Guid? tripId, string? search); |
| 8 | Task<List<TripBllDto>> GetAllTripsAsync(); |
| 9 | Task<BudgetCategoryBllDto?> GetByIdAsync(Guid id); |
| 10 | Task CreateAsync(BudgetCategoryBllDto entity, string? nameEn, string? nameEt); |
| 11 | Task UpdateAsync(BudgetCategoryBllDto entity, string? nameEn, string? nameEt); |
| 12 | Task DeleteAsync(Guid id); |
| 13 | Task<bool> ExistsAsync(Guid id); |
| 14 | } |
| 15 | |