示例#1
0
        public IActionResult Index()
        {
            ViewBag.Email = HttpContext.Session.GetString("email");
            //ViewBag.Email = HttpContext.Request.Cookies["email"];
            var staffs = new List <StaffView>();

            staffs = staffService.GetStaffs().ToList();
            var address = staffService.GetAllProvinces();

            return(View(staffs));
        }