Пример #1
0
        public async Task <IActionResult> Delete(int id)
        {
            var deletedCustom = await repository.DeleteCustom(id);

            if (deletedCustom == null)
            {
                return(NotFound());
            }
            return(NoContent());
        }