Example #1
0
        public ActionResult LoadListStore()
        {
            List <tblStoreAccount> lstStoreAccount;

            if (Libs.IsAdmin() || Libs.IsCSKH())
            {
                lstStoreAccount = _storeService.LoadListStore();
            }
            else
            {
                var storeAccount = GetStoreAccountInfo();
                lstStoreAccount = new List <tblStoreAccount>
                {
                    storeAccount
                };
            }
            return(Json(lstStoreAccount));
        }