Exemplo n.º 1
0
 private async Task<TopicsGridVm> InitializeTopicGridVMWith(TopicQueryRepository topicRepo, ProductRepository productRepo, MkDocsExporter exporter, WebsiteConstructor constructor) {
     var viewModel = new TopicsGridVm(topicRepo, productRepo, exporter, constructor);
     await viewModel.Initialize();
     return viewModel;
 }
Exemplo n.º 2
0
 private static async Task ExecuteExportSelectedProductCommandFrom(TopicsGridVm viewModel) {
     await viewModel.ExportProductToMkDocs.ExecuteAsync(new object());
 }