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 ClientManagementPrivilege GetInstance() { if (instance == null) { instance = new ClientManagementPrivilege(); } return(instance); }
private void AddCashierPrivileges() { this.Privileges.Add(ClientManagementPrivilege.GetInstance()); }