ISplitPresetAdminService.cs
427 bytes
| 1 | using SplitApp.WebApp.Application.DTO; |
|---|---|
| 2 | |
| 3 | namespace SplitApp.WebApp.Application.Services.Admin; |
| 4 | |
| 5 | public interface ISplitPresetAdminService |
| 6 | { |
| 7 | Task<List<SplitPresetBllDto>> GetAllAsync(string? search); |
| 8 | Task<SplitPresetBllDto?> GetByIdAsync(Guid id); |
| 9 | Task CreateAsync(SplitPresetBllDto entity); |
| 10 | Task DeleteAsync(Guid id); |
| 11 | |
| 12 | Task<List<TripBllDto>> GetTripsAsync(); |
| 13 | Task<List<AppUserBllDto>> GetUsersAsync(); |
| 14 | } |
| 15 | |