public IActionResult UpdateHotelPricing([FromBody] HotelPricing hotelPricing) { _serviceEndPoint = new ServicesEndPoint.GeneralSevices.ServicesEndPoint(_simbaToursUnitOfWork, _emailService); bool result = _serviceEndPoint.UpdateHotelPricing(hotelPricing); return(Json(new { Result = result })); }