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