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