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