public IActionResult Delete(string id) { var organization = _organizationsService.Get(id); if (organization == null) { return(NotFound()); } _organizationsService.Remove(id); return(NoContent()); }
public IActionResult Delete(string id) { var organization = _organizationsService.Get(id); if (organization == null) { return(NotFound()); } _organizationsService.Remove(id); return(NoContent()); }