private BaseRatingService CreateRaterService() { var userId = Guid.Parse(User.Identity.GetUserId()); var service = new BaseRatingService(userId); return(service); }
//GET BaseRating Details public ActionResult Details(int id) { var service = new BaseRatingService(); var model = service.GetRatingsByRatingID(id); return(View(model)); }
// GET: BaseRating public ActionResult Index() { var service = new BaseRatingService(); var model = service.GetRatings(); return(View(model)); }