public IActionResult GetWithCampus(int id) { var item = _repo.GetRoomWithCampus(id); if (item == null) { return(NotFound()); } return(Json(item)); }