コード例 #1
0
        public ActionResult GetPolicy(int officeId, int userId)
        {
            var model = EntityAccessPolicyModel.Get(officeId, userId);

            return(this.Ok(model));
        }
コード例 #2
0
        public ActionResult UserPolicy()
        {
            var model = EntityAccessPolicyModel.Get();

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