public ActionResult Index()
        {
            Session["BranchCount"] = _branchRepository.GetAll().Count;
            Session["TPostCount"]  = _tellerPostingRepo.GetAll().Count;
            Session["TCount"]      = _tellerRepo.GetAll().Count;

            return(View());
        }
Esempio n. 2
0
        // GET: TellerPosting
        public ActionResult Index()
        {
            try
            {
                return(View(_tellerPostingRepository.GetAll()));
            }
            catch (Exception exception)
            {
                ViewBag.Exception = exception.Message;
            }

            return(View(new TellerPosting()));
        }
        //
        // GET: /TellerPosting/
        public ActionResult Index()
        {
            var telPostings = tpRepo.GetAll();

            return(View(telPostings));
        }