public JsonResult GetHotelDetails(int hotelId) { _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService); var hotel = _serviceEndPoint.GetHotelDetails(hotelId); return(Json(hotel)); }
public JsonResult GetHotelDetails(int hotelId) { _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService); var hotel = _serviceEndPoint.GetHotelDetails(hotelId); return(Json(hotel)); }