public async Task <IActionResult> Delete(Guid id) { var item = _specialityService.GetByIdAsync(id); if (item == null) { return(NotFound()); } await _specialityService.RemoveAsync(id); return(NoContent()); }