Example #1
0
        public ActionResult GetGroupPolicy(int officeId, int roleId)
        {
            var model = GroupEntityAccessPolicyModel.Get(officeId, roleId);

            return(this.Ok(model));
        }
Example #2
0
        public ActionResult GroupPolicy()
        {
            var model = GroupEntityAccessPolicyModel.Get();

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