public IActionResult Delete(long id) { var branch = _branchesService.Find(id); if (branch == null) { return(NotFound()); } _branchesService.Delete(id); return(new NoContentResult()); }
public IActionResult Delete(long id) { var branch = _branchesService.Find(id); if (branch == null) { return(NotFound()); } _branchesService.Delete(id); return(new NoContentResult()); }