コード例 #1
0
        private async Task AddStudent()
        {
            var student = _studentMenu.GetFromInput();


            await _studentService.AddAsync(student);
        }
コード例 #2
0
        private async Task Add()
        {
            var subject = _subjectMenu.GetFromInput();

            await _subjectService.AddAsync(subject);
        }
コード例 #3
0
        private async Task AddLecturer()
        {
            var lecturer = _lecturerMenu.GetFromInput();

            await _lecturerService.AddAsync(lecturer);
        }