protected override async Task OnInitializedAsync()
        {
            if (DataCollectionLookupList.Count() == 0)
            {
                DataCollectionLookupList = ConversionFactory.ConvertToDomainModelForLookup(await _api.GetDataCollectionsAsync());
            }

            await base.OnInitializedAsync();
        }
        protected override async Task OnInitializedAsync()
        {
            if (ViewModel.MatterTypeLookupList.Count() == 0)
            {
                ViewModel.MatterTypeLookupList = ConversionFactory.ConvertToDomainModel(await _api.GetMatterTypesLookupAsync());
            }

            if (ViewModel.DataCollectionLookupList.Count() == 0)
            {
                ViewModel.DataCollectionLookupList = ConversionFactory.ConvertToDomainModelForLookup(await _api.GetDataCollectionsAsync());
            }

            if (ViewModel.DataTypeLookupList.Count() == 0)
            {
                ViewModel.DataTypeLookupList = BuildDataTypeLookupList();
            }

            await DataCollectionPageNumberChanged(1);

            await base.OnInitializedAsync();
        }
 private async Task RefreshDataCollectionsLookup()
 {
     ViewModel.DataCollectionLookupList = ConversionFactory.ConvertToDomainModelForLookup(await _api.GetDataCollectionsAsync());
 }