Пример #1
0
 public bool Delete(int id)
 {
     return(catRepo.Delete(id));
 }
Пример #2
0
 public Cat DeleteCat(int id)
 {
     return(_catRepo.Delete(id));
 }
        public async Task <IActionResult> Delete(Guid id)
        {
            await _repository.Delete(id);

            return(Ok());
        }