Пример #1
0
 public ActionResult deleteDepot(int id)
 {
     using (DepotManager dm = new DepotManager())
     {
         var model = dm.GetDepot(id);
         return(PartialView(model));
     }
 }
Пример #2
0
 public DepotObject GetDepot(long depotId)
 {
     try
     {
         return(_depotManager.GetDepot(depotId));
     }
     catch (Exception ex)
     {
         ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message);
         return(new DepotObject());
     }
 }