public static EventSectionModel ToEventSectionModel(this EventSections eventsection) { return(new EventSectionModel { EventId = eventsection.EventId, Price = eventsection.Price, SectionId = eventsection.SectionId }); }
public static EventSectionModel ToEventSectionModel(this EventSections eventsection) { return(new EventSectionModel { EventId = eventsection.EventId, Price = eventsection.Price, SectionId = eventsection.SectionId, VenueId = eventsection.VenueId, RowVersion = eventsection.RowVersion }); }