public ActionResult Cashier_details() { CashierRepository orepo = new CashierRepository(); List <Cashier> ll = orepo.GetAll(); return(View(ll)); }
public ActionResult Cashier_Salary() { CashierRepository brepo = new CashierRepository(); List <Cashier> blist = brepo.GetAll(); List <Cashier> slist = new List <Cashier>(); foreach (Cashier of in blist) { if (of.Cashier_branch != Session["Branch"].ToString()) { } else { slist.Add(of); } } return(View(slist)); }