private void AddAdminPrivileges() { this.Privileges.Add(UserManagementPrivilege.GetInstance()); this.Privileges.Add(ProviderManagementPrivilege.GetInstance()); this.Privileges.Add(EarningQueriesPrivilege.GetInstance()); this.Privileges.Add(ClientManagementPrivilege.GetInstance()); }
public static EarningQueriesPrivilege GetInstance() { if (instance == null) { instance = new EarningQueriesPrivilege(); } return(instance); }