Exemple #1
0
 public IActionResult Deleteitems(int id)
 {
     try
     {
         _repo.Deleteitems(id);
         return(Ok());
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }