示例#1
0
 public async Task Book(FittingRoom fittingRoom)
 {
     this.FittingRoomBookingStatus = FittingRoomBookingStatusEnum.InUse;
     this.FittingRoomId            = fittingRoom.Id;
     fittingRoom.Book();
     await EventNotifier.Notify(this.UserNotificationId, fittingRoom.Localization);
 }
示例#2
0
 public void Cancel(FittingRoom fittingRoom)
 {
     this.FittingRoomBookingStatus = FittingRoomBookingStatusEnum.Cancelled;
     this.FittingRoomId            = null;
     fittingRoom.Cancel(fittingRoom);
 }
示例#3
0
 public void Cancel(FittingRoom fittingRoom)
 {
     fittingRoom.FittingRoomStatus = FittingRoomStatusEnum.Free;
 }