NEW: IEventRegistrationService Initial Interface Definition
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@ -5,14 +6,21 @@ namespace SZUAbsolventenverein.Module.EventRegistration.Services
|
||||
{
|
||||
public interface IEventRegistrationService
|
||||
{
|
||||
Task<List<Models.Event>> GetEventRegistrationsAsync(int ModuleId);
|
||||
/* Reine Events */
|
||||
Task<List<Models.Event>> GetEventsAsync(int ModuleId);
|
||||
|
||||
Task<Models.Event> GetEventRegistrationAsync(int EventRegistrationId, int ModuleId);
|
||||
Task<Models.Event> AddEventAsync(Models.Event NewEvent);
|
||||
|
||||
Task<Models.Event> AddEventRegistrationAsync(Models.Event EventRegistration);
|
||||
Task<Models.Event> UpdateEventAsync(Models.Event NewEvent);
|
||||
|
||||
Task<Models.Event> UpdateEventRegistrationAsync(Models.Event EventRegistration);
|
||||
Task DeleteEventAsync(int EventId, int ModuleId);
|
||||
|
||||
Task DeleteEventRegistrationAsync(int EventRegistrationId, int ModuleId);
|
||||
|
||||
/* Events & Responses */
|
||||
Task<Models.Response> AddOrUpdateResponseAsync(int EventId, int ModuleId, bool ResponseType);
|
||||
|
||||
Task<(Models.Event, Models.Response)> GetEventDetails(int EventId, int ModuleId);
|
||||
|
||||
Task<List<Models.Response>> GetEventResponses(int EventId, int ModuleId);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user