public async Task <IActionResult> Create()
        {
            Subgroup subgroup = new Subgroup();

            subgroup.Groups = await groupClient.GetAllGroups();

            return(View(subgroup));
        }
Beispiel #2
0
        public async Task <IActionResult> Index()
        {
            var data = await apiClient.GetAllGroups();

            return(View(data));
        }