示例#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());
        }