public JsonResult ActiveRents(List <RoomViewModel> rooms) { try { UserService service = new UserService(); var validRooms = service.ActiveRents(rooms); return(Json(validRooms)); } catch (Exception ex) { throw; } }
public JsonResult ActiveRents(List <RoomViewModel> rooms) { try { UserService service = new UserService(); var validRooms = service.ActiveRents(rooms); return(Json(validRooms)); } catch (Exception ex) { throw; } }