// GET: Shoes
 public async Task <IActionResult> Index(Account acc)
 {
     this.account = acc;
     if (account.UserName == null)
     {
         return(View(await shoesDao.GetList()));
     }
     else
     {
         string name = Request.Cookies[account.UserName + account.Password];
         HttpContext.Session.SetString("Account", account.UserName + account.Password);
         HttpContext.Session.SetString("UserName", name);
         ViewBag.Account = HttpContext.Session.GetString("UserName");
         return(View(await shoesDao.GetList()));
     }
 }
        public async Task <IActionResult> InsertImportDetail(string id)
        {
            ViewBag.Account   = HttpContext.Session.GetString("UserName");
            ViewBag.shoesList = await shoesDao.GetList();

            ViewBag.Serial = id;
            return(View());
        }