
Interface Definition: done Server-Side-Implementation: partly done (CR missing, potential Refactor, ...) Client-Side-Implementation: started: (UI: done, Service: started, but works with SSR) Missing: Permissions / Roles to restrict access to an event. Missing: Fields on Event. Missing: Good Styling Time-Took: about 12 Hours. Learning: Commit in smaller packets, rest will be discussed at CR
20 lines
791 B
C#
20 lines
791 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using SZUAbsolventenverein.Module.EventRegistration.Models;
|
|
|
|
namespace SZUAbsolventenverein.Module.EventRegistration.Repository
|
|
{
|
|
public interface IResponseRepository
|
|
{
|
|
IEnumerable<Response> GetResponses(int ModuleId);
|
|
IEnumerable<Response> GetResponses(int EventId, int ModuleId);
|
|
Response GetResponse(int EventRegistrationId);
|
|
Response GetResponse(int EventRegistrationId, bool tracking);
|
|
Response GetResponse(int EventId, int OwnerId);
|
|
Response GetResponse(int EventId, int OwnerId, bool tracking);
|
|
Response AddResponse(Response EventResponse);
|
|
Response UpdateResponse(Response EventResponse);
|
|
void DeleteResponse(int EventResponseId);
|
|
}
|
|
}
|