Ejemplo n.º 1
0
        public ActionResult Cashier_details()
        {
            CashierRepository orepo = new CashierRepository();
            List <Cashier>    ll    = orepo.GetAll();

            return(View(ll));
        }
Ejemplo n.º 2
0
        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));
        }