public IActionResult GetLocation(int Id) { var location = _organizationUnitProvider.GetLocationDetail(Id); if (location == null) { return(NotFound("Location not found.")); } return(Ok(location)); }
public IActionResult GetLocation(int Id) { var location = _organizationUnitProvider.GetLocationDetail(Id); if (location == null) { return(NotFound("Location not found.")); } return(Ok(location)); }