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