예제 #1
0
        public RbacEngineWeb Get(string name)
        {
            RbacEngineWeb rbac = new RbacEngineWeb(Rbac.GetRbac(name));

            rbac.ConnectionString = string.Empty;
            return(rbac);
        }
예제 #2
0
        public RbacEngineWeb Get(int id)
        {
            RbacEngineWeb rbac = new RbacEngineWeb(Rbac.GetRbac(id));

            rbac.ConnectionString = string.Empty;
            return(rbac);
        }
예제 #3
0
 private void btnSaveInstance_Click(object sender, EventArgs e)
 {
     if (propInstance != null)
     {
         RbacEngineWeb rbac = propInstance.SelectedObject as RbacEngineWeb;
         Rbac.Save(rbac);
     }
 }
예제 #4
0
 public RbacEngineWeb Put(int id, [FromBody] RbacEngineWeb rbacEngineWeb)
 {
     return(Rbac.Save(rbacEngineWeb));
 }