public ActionResult GetPolicy(int officeId, int userId) { var model = EntityAccessPolicyModel.Get(officeId, userId); return(this.Ok(model)); }
public ActionResult UserPolicy() { var model = EntityAccessPolicyModel.Get(); return(this.FrapidView(this.GetRazorView <AreaRegistration>("AccessPolicy/Policy.cshtml"), model)); }