public JsonResult CourtHallBusy(int CourtHallId, DateTime DateFrom, int DateTo_Minutes, int ModelId) { return(Json(new { result = service.CourtHallBusy(CourtHallId, DateFrom, DateTo_Minutes, ModelId) })); }