示例#1
0
        public async Task <IActionResult> Create()
        {
            Group group = new Group();

            group.Specialisations = await specializationClient.GetAllSpecialisations();

            return(View(group));
        }
示例#2
0
        public async Task <IActionResult> Index()
        {
            var data = await apiClient.GetAllSpecialisations();

            return(View(data));
        }