public ActionResult HotelDetails(int id) { HotelDto hotelmodel = new HotelDto(); hotelmodel = _hotelsManager.GetHotel(id); hotelmodel.Rating = (float)_ratingManager.GetRatingByHotelID(id); return(View(hotelmodel)); }