public ActionResult Used() { InventoryUsedVM model = new InventoryUsedVM(); InventoryPostmaster.ResetUsedVM(model); return(View(model)); }
public ActionResult New() { InventoryNewVM model = new InventoryNewVM(); InventoryPostmaster.ResetNewVM(model); return(View(new InventoryNewVM())); }
public ActionResult Used(InventoryUsedVM model) { SearchManager searchMgr = new SearchManager(); model.Query.InventoryType = InventoryType.Used; model.Result = searchMgr.GetSearchResult(searchMgr.ParcelPackage(model.Query)); InventoryPostmaster.ResetUsedVM(model); return(View(model)); }