public async Task Add(Interfaces.ISeat seat) { await this.seatService.addSeatAsync(new addSeatRequest { flrId = seat.FloorId, flrIdSpecified = true, seatColumn = seat.SeatColumn, seatNum = seat.SeatNum, seatRow = seat.SeatRow, seatIsactive = seat.IsActive, seatType = seat.SeatType }); }
public async Task <Interfaces.ISeat> Merge(Interfaces.ISeat seat) { var result = await this.seatService.mergeSeatAsync(new mergeSeatRequest { seatId = seat.Id, seatIdSpecified = true, flrId = seat.FloorId, flrIdSpecified = true, seatColumn = seat.SeatColumn, seatNum = seat.SeatNum, seatRow = seat.SeatRow, seatIsactive = seat.IsActive, seatType = seat.SeatType }); return(this.ToSeat(result.@return)); }