コード例 #1
0
        public async Task <ActionResult> GetGroupPolicyAsync(int officeId, int roleId)
        {
            var model = await GroupMenuPolicyModel.GetAsync(this.AppUser, officeId, roleId).ConfigureAwait(true);

            return(this.Ok(model));
        }
コード例 #2
0
        public async Task <ActionResult> GroupPolicyAsync()
        {
            var model = await GroupMenuPolicyModel.GetAsync(this.AppUser).ConfigureAwait(true);

            return(this.FrapidView(this.GetRazorView <AreaRegistration>("MenuPolicy/GroupPolicy.cshtml", this.Tenant), model));
        }