protected override async Task NavigateToFormAsync(Forms form, ViewModelUseCaseBase viewModel)
 { 
     this.DisposeResource();
     var item = this.CurrentModule.Children.FirstOrDefault(m => m.CurrentFormName == form);
     item.CurrentViewModel = viewModel;
     this.CurrentModule = item;
 }
        /// <summary>
        /// The dispose.
        /// </summary>
        public override void Dispose()
        {
            Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() =>
            {
                if (this._allUsers != null)
                {
                    this._allUsers.Clear();
                    this._allUsers = null;
                }
                if (this._allFundingSummary != null)
                {
                    this._allFundingSummary.Clear();
                    this._allFundingSummary = null;
                }
                if (this._groups != null)
                {
                    this._groups.Clear();
                    this._groups = null;
                }
                if (this._allQueueManagementDetails != null)
                {
                    this._allQueueManagementDetails.Clear();
                    this._allQueueManagementDetails = null;
                }
                if (this._screenDetailViewModel != null)
                {
                    this._screenDetailViewModel.Dispose();
                    this._screenDetailViewModel = null;
                }
                if (this._mainContent != null)
                {
                    this._mainContent.Clear();
                    this._mainContent = null;
                }
                if (this._formBarMenuViewModel != null)
                {
                    this._formBarMenuViewModel.Dispose();
                    this._formBarMenuViewModel = null;
                }
                if (this._toggleViewModel != null)
                {
                    this._toggleViewModel.Dispose();
                    this._toggleViewModel = null;
                }

                base.Dispose();
            }));
        }