public WindowSummoner() { InitializeComponent(); modelSummoner = new ViewModelSummoner(); DataContext = modelSummoner; }
public async Task <IActionResult> Index(ViewModelSummoner summoner) { if (!ModelState.IsValid) { return(View(summoner)); } GetSummoner(summoner.userName); //GetContext(); return(PartialView("_HistPartialView")); }