コード例 #1
0
        public IActionResult Delete(string id)
        {
            var organization = _organizationsService.Get(id);

            if (organization == null)
            {
                return(NotFound());
            }

            _organizationsService.Remove(id);

            return(NoContent());
        }