public ActionResult Interface()
        {
            var model = new StoreManagerInterfaceViewModel();
            // Lấy ID của StoreManager đang đăng nhập
            int Id = 0;
            StoreManager curSM = StoreManagerBUS.GetItem(Id);

            model.Id = Id;
            model.Name = curSM.Name;
            model.Status = StoreManagerStateBUS.GetCode((int)curSM.StatusId);
            model.TotalLastMonthAmount = StoreManagerBUS.GetTotalLastMonthAmount(curSM.Id);
            model.TotalTransaction = StoreManagerBUS.GetTotalLastMonthTransaction(curSM.Id);

            if (curSM.LastCollectDate != null)
            {
                model.LastCollectDate = (DateTime)curSM.LastCollectDate;
            }

            if (curSM.IsLocked == null) curSM.IsLocked = true;
            model.IsLocked = (bool)curSM.IsLocked;
            return View(model);
        }
 public ActionResult Interface(StoreManagerInterfaceViewModel model)
 {
     int Id = model.Id;
     model.IsLocked = StoreManagerBUS.ChangeLocked(Id);
     return View(model);
 }