public ActionResult Index() { SalesInventoryVM model = new SalesInventoryVM(); SalesPostmaster.ResetIndexVM(model); return(View(model)); }
public ActionResult Index(SalesInventoryVM model) { SearchManager searchMgr = new SearchManager(); model.Query.InventoryType = InventoryType.Sales; model.Result = searchMgr.GetSearchResult(searchMgr.ParcelPackage(model.Query)); SalesPostmaster.ResetIndexVM(model); return(View(model)); }