예제 #1
0
        public async Task <IActionResult> ByGroup(int cid,
                                                  [FromServices] IStudentStore store)
        {
            ViewBag.Aff = await Store.ListAffiliationAsync(cid, false);

            ViewBag.Cat = await Store.ListCategoryAsync(cid);

            ViewBag.Class = await store.ListClassAsync();

            return(Window(new AddTeamByGroupModel
            {
                AffiliationId = 1,
                CategoryId = 3,
                AddNonTemporaryUser = true
            }));
        }