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