예제 #1
0
 private Task <UEditorViewModel> GetMorePicViewModelAsync(UEditorViewModel viewModel)
 {
     if (viewModel == null)
     {
         viewModel = new UEditorViewModel();
     }
     return(Task.FromResult(viewModel));
 }
예제 #2
0
        public async Task <IViewComponentResult> InvokeAsync(UEditorViewModel viewModel = null)
        {
            viewModel = await GetMorePicViewModelAsync(viewModel);

            return(View(viewModel));
        }