Ejemplo n.º 1
0
 public static EventSeat ToEventSeatContract(EventSeatDto from)
 {
     return(new EventSeat
     {
         State = (SeatState)SeatStateEnumParser.ToSeatStateContract(from.State),
         Row = from.Row,
         Number = from.Number,
         Id = from.Id,
         EventAreaId = from.EventAreaId
     });
 }
Ejemplo n.º 2
0
 public static EventSeatDto ToEventSeatDto(EventSeat from)
 {
     return(new EventSeatDto
     {
         State = (BusinessLogic.Services.SeatState)SeatStateEnumParser.ToSeatStateBLL(from.State),
         Row = from.Row,
         Number = from.Number,
         Id = from.Id,
         EventAreaId = from.EventAreaId
     });
 }