Exemple #1
0
        protected override async Task OnInitializedAsync()
        {
            await base.OnInitializedAsync();

            SourceTemplates = await ApiLookupService.GetTemplatesLookup(Http, FormTypes.Source);

            MaterialTemplates = await ApiLookupService.GetTemplatesLookup(Http, FormTypes.Material);

            AliquotTemplates = await ApiLookupService.GetTemplatesLookup(Http, FormTypes.Aliquot);

            SourceTypes = await ApiLookupService.GetSourceMaterialTypesLookup(Http, SourceMaterialTypeLookupParameter.Source);

            MaterialTypes = await ApiLookupService.GetSourceMaterialTypesLookup(Http, SourceMaterialTypeLookupParameter.Material);
        }
Exemple #2
0
 protected async Task GetLookups(string lookupType)
 {
     Templates = await ApiLookupService.GetTemplatesLookup(Http, lookupType);
 }