Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Threading.Tasks;
- using Microsoft.AspNetCore.Http;
- using Timerman.Data.Entities;
- using Timerman.Service.DTO.Entities;
- namespace Timerman.Service.Interfaces
- {
- public interface IEventService
- {
- Task<EventDTO> EventByIdAsync(long eventId);
- Task<IList<EventResultDTO>> GetResultForEventAsync(long eventId);
- Task<string> getEventResultRRAsync(long eventId);
- Task<bool> EventResultRRAsync(string eventId);
- Task<IList<EventDTO>> GetAllAsync();
- Task<IList<EventAdminDTO>> GetAllAdminAsync();
- Task<EventDTO> GetClosestAsync();
- Task<EventDTO> AddEventAsync(EventDTO item, string userId, IFormFile file, IFormFile filePreview);
- Task<EventDTO> EditEventAsync(long eventId, EventDTO item, string userId, IFormFile file, IFormFile filePreview);
- Task DeleteEventAsync(long eventId);
- Task UpdateDistancesAsync(long eventId, IList<DistanceDTO> distances);
- Task<DistanceViewDTO> GetEventDistanceByIdAsync(long eventId, long distanceId);
- Task<IList<DistanceViewDTO>> GetEventDistancesAsync(long eventId);
- Task AddDistanceToEventAsync(long eventId, DistanceDTO distance, IFormFile mapPhoto);
- Task UpdateEventDistanceAsync(long eventId, long distanceId, DistanceDTO distance, IFormFile mapPhoto);
- Task DeleteEventDistanceAsync(long eventId, long distanceId);
- Task UpdateActiveStatusAsync(long eventId, bool isActive);
- Task<IList<DistanceViewDTO>> GetDistancesByParticipationType(long eventId, long participationType);
- Task<IList<EventDTO>> GetEventsByParticipationType(long participationType);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement