public ActionResult viewManProduct(int opt = 0) { Manager.currrentStatus.option = opt; List <productTable> cst = DB.readManData(opt); return(View(cst)); }
public ActionResult mens(int opt = 0, string val = "") { searchModel mdl = new searchModel(); if (mdl != null) { val = mdl.searchVal; } Manager.currrentStatus.option = opt; List <productTable> cst = DB.readManData(opt); return(View(cst)); }