/// <summary>
 /// Gets the state of the application.
 /// </summary>
 /// <returns></returns>
 public AppState GetTopcities()
 {
     var appState = new AppState
     {
         OrgId = GetOrgIdFromContext(),
         MatterId = GetMatterIdFromContext(),
         DatasetId = GetDatasetIdFromContext(),
         ProjectId = GetProjectIdFromContext()
     };
     appState.UserGrops = GetAuthorizeduserGroups(appState.MatterId, appState.DatasetId, appState.ProjectId);
     return appState;
 }
示例#2
0
 protected bool Equals(AppState other)
 {
     return this.OrgId == other.OrgId && this.MatterId == other.MatterId && this.DatasetId == other.DatasetId && this.ProjectId == other.ProjectId;
 }