/// <summary> /// Returns list of available data seed profiles (names are ready for use as parameter to <see cref="SeedDataProfile"/> method). /// </summary> public Task <Dto <string[]> > GetDataSeedProfiles() { return(Task.FromResult(Dto.FromValue(GetProfileTypes() .Select(t => t.Name) .ToArray() ))); }
public async Task <Dto <List <ContactReferenceVM> > > GetAllContactReferencesAsync(CancellationToken cancellationToken = default) { return(Dto.FromValue(await contactRepository.GetAllContactReferencesAsync(cancellationToken))); }