Пример #1
0
 public ActionResult <bool> Delete(int id)
 {
     try
     {
         return(Ok(_pis.DeletePhysicalItem(id)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }