예제 #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;
 }