mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
fix: offload building DTOs to GUHF
DTO building allows for fully returning correct event's skills and registrations
This commit is contained in:
@@ -13,4 +13,12 @@ public static class EventSkillMapping
|
||||
SkillId = SSDto.Skill,
|
||||
};
|
||||
}
|
||||
|
||||
public static SkillSummaryDto ToSkillSummaryDto(this EventSkill es)
|
||||
{
|
||||
return new SkillSummaryDto{
|
||||
SkillId = es.SkillId,
|
||||
SkillName = es.Skill.Name
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user