public static bool HasRight(DataSource ds, int roleId, string right) { return(AdminRole.HasRight(ds, roleId, right)); }
public bool HasRight(DataSource ds, string right) { return(AdminRole.HasRight(ds, RoleId, right)); }