Exemple #1
0
 public IActionResult Additem(Items obj)
 {
     try
     {
         _repo.Additems(obj);
         return(Ok("item added"));
     }
     catch (Exception e)
     {
         return(NotFound(e.InnerException.Message));
     }
 }