Beispiel #1
0
 public ActionResult editDepot(DepotModel depotModel)
 {
     using (DepotManager dm = new DepotManager())
     {
         dm.UpdateDepot(depotModel);
     }
     return(RedirectToAction("Index"));
 }
Beispiel #2
0
 public long UpdateDepot(DepotObject depot)
 {
     try
     {
         return(_depotManager.UpdateDepot(depot));
     }
     catch (Exception ex)
     {
         ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message);
         return(0);
     }
 }
Beispiel #3
0
        public void UpDateDepot(DepotDTO depotDto)
        {
            DepotManager depotManager = new DepotManager();

            depotManager.UpdateDepot(depotDto);
        }