mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
feat: image url migration
registrations can now store image urls, which will be shown at view.html
This commit is contained in:
@@ -35,8 +35,8 @@ public static class EventMapping
|
||||
public static EventSummaryDto ToEventSummaryDto(this Event myEvent)
|
||||
{
|
||||
|
||||
List<SkillSummaryDto> ssdto = new List<SkillSummaryDto>();
|
||||
List<EventRegistrationDto> erdto = new List<EventRegistrationDto>();
|
||||
List<SkillSummaryDto> ssdto = [];
|
||||
List<EventRegistrationDto> erdto = [];
|
||||
|
||||
foreach (EventSkill es in myEvent.EventSkills)
|
||||
{
|
||||
@@ -69,6 +69,7 @@ public static class EventMapping
|
||||
myEvent.OrganisationId,
|
||||
myEvent.Title,
|
||||
myEvent.Description ?? "",
|
||||
myEvent.ImageURL,
|
||||
myEvent.Location,
|
||||
myEvent.EventDate,
|
||||
myEvent.EventSkills
|
||||
@@ -88,8 +89,8 @@ public static class EventMapping
|
||||
|
||||
public static EventDetailsDto ToEventDetailsDto(this Event myEvent)
|
||||
{
|
||||
List<SkillSummaryDto> ssdto = new List<SkillSummaryDto>();
|
||||
List<EventRegistrationDto> erdto = new List<EventRegistrationDto>();
|
||||
List<SkillSummaryDto> ssdto = [];
|
||||
List<EventRegistrationDto> erdto = [];
|
||||
|
||||
foreach (EventSkill es in myEvent.EventSkills)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user