public RbacEngineWeb Get(string name) { RbacEngineWeb rbac = new RbacEngineWeb(Rbac.GetRbac(name)); rbac.ConnectionString = string.Empty; return(rbac); }
public RbacEngineWeb Get(int id) { RbacEngineWeb rbac = new RbacEngineWeb(Rbac.GetRbac(id)); rbac.ConnectionString = string.Empty; return(rbac); }
private void btnSaveInstance_Click(object sender, EventArgs e) { if (propInstance != null) { RbacEngineWeb rbac = propInstance.SelectedObject as RbacEngineWeb; Rbac.Save(rbac); } }
public RbacEngineWeb Put(int id, [FromBody] RbacEngineWeb rbacEngineWeb) { return(Rbac.Save(rbacEngineWeb)); }