Example #1
0
 public IActionResult MarkArmChair(string armChairId, string roomId, StateArmChair state)
 {
     if (string.IsNullOrEmpty(armChairId) || string.IsNullOrEmpty(roomId))
     {
         return(NotFound());
     }
     AdministrationRepository.MarkArmChairByRoomIdAndArmChairId(armChairId, roomId, state);
     return(RedirectToAction("GetRooms"));
 }