Auth endpoints

This commit is contained in:
AleksDw
2025-05-18 17:43:47 +02:00
parent 1eb104945a
commit bebf47a2ba
6 changed files with 174 additions and 18 deletions

View File

@@ -48,6 +48,19 @@ public static class EventMapping
myEvent.EventRegistrations
);
}
public static EventSummaryNoErDto ToEventSummaryNoErDto(this Event myEvent)
{
return new EventSummaryNoErDto(
myEvent.EventId,
myEvent.Organisation!.Name,
myEvent.OrganisationId,
myEvent.Title,
myEvent.Description,
myEvent.Location,
myEvent.EventDate,
myEvent.EventSkills
);
}
public static EventDetailsDto ToEventDetailsDto(this Event myEvent)
{