public IActionResult getReview(int id) { try { return(new ObjectResult(_rate.GetReviewCourses(id))); } catch { return(BadRequest()); } }