Example #1
0
        public IActionResult GetLocation(int Id)
        {
            var location = _organizationUnitProvider.GetLocationDetail(Id);

            if (location == null)
            {
                return(NotFound("Location not found."));
            }

            return(Ok(location));
        }