public ActionResult addDepot(DepotModel depotModel) { using (DepotManager dm = new DepotManager()) { dm.SaveDepot(depotModel); } return(RedirectToAction("Index")); }