Пример #1
0
        public async Task <IActionResult> Index()
        {
            string token       = User.FindFirst("Token").Value;
            string disciplines = User.FindFirst("Disciplines").Value;

            ResultModel <List <LessonDisciplineVO> > model = await _lessonService.GetAllLessonsTaskAync(token, disciplines.Split(';').ToList());

            return(View(model.Object));
        }