Exemplo n.º 1
0
        //
        // GET: /Administrator/ImportExcel/

        public ActionResult Index()
        {
            var result = SimSoDepRepository.GetListDaiLy();

            ViewBag.DaiLy = new SelectList(result, "Id", "Ten");
            return(View());
        }
        public ActionResult TimSo(string so, int?madaily)
        {
            if (string.IsNullOrEmpty(so) && madaily == null)
            {
                return(RedirectToAction("Index"));
            }
            var result = SimSoDepRepository.TimKiemSoManager(so, madaily);

            ViewBag.SearchStr = so;
            ViewBag.madaily   = new SelectList(SimSoDepRepository.GetListDaiLy(), "Id", "Ten");
            return(View("Index", result));
        }
        //
        // GET: /Administrator/TimKiemManager/

        public ActionResult Index()
        {
            ViewBag.madaily = new SelectList(SimSoDepRepository.GetListDaiLy(), "Id", "Ten");
            return(View());
        }