public async Task <OutputModel> get_inner_html_Name(InputModel2 model)
 {
     return(new OutputModel
     {
         Text = await _invoker.InvokeAsHtml(new PartialModel { Name = model.Name }).ConfigureAwait(false)
     });
 }
Пример #2
0
 public OutputModel get_inner_html_Name(InputModel2 model)
 {
     return(new OutputModel
     {
         Text = _invoker.InvokeAsHtml(new PartialModel {
             Name = model.Name
         })
     });
 }
 public string get_with_partial()
 {
     return(_invoker.InvokeAsHtml(new Request1 {
         Name = "Tamba Hali"
     }));
 }