public override ActionResult Form() { ViewBag.Roles = Sys.GetBaseRole().Select(item => new { ID = item.ID, Name = item.RoleName }).ToJson(); ViewBag.Stores = Sys.GetALL <StoreInfoEntity>().Select(item => new { ID = item.ID, Name = item.StoreName }).ToJson(); return(base.Form()); }