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

            return(Ok());
        }