Esempio n. 1
0
        public async Task <IActionResult> Delete(Guid id)
        {
            var item = _specialityService.GetByIdAsync(id);

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

            await _specialityService.RemoveAsync(id);

            return(NoContent());
        }