public async Task <ActionResult> GetGroupPolicyAsync(int officeId, int roleId) { var model = await GroupMenuPolicyModel.GetAsync(this.AppUser, officeId, roleId).ConfigureAwait(true); return(this.Ok(model)); }
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)); }