示例#1
0
        public WindowSummoner()
        {
            InitializeComponent();

            modelSummoner = new ViewModelSummoner();
            DataContext   = modelSummoner;
        }
示例#2
0
        public async Task <IActionResult> Index(ViewModelSummoner summoner)
        {
            if (!ModelState.IsValid)
            {
                return(View(summoner));
            }

            GetSummoner(summoner.userName);

            //GetContext();

            return(PartialView("_HistPartialView"));
        }