Пример #1
0
        public async Task <IActionResult> Promote(Enrollv1 input)
        {
            var enrollment = await _stService.GetEnroll(input.Studies, input.Semester);

            if (enrollment == null)
            {
                return(NotFound());
            }
            else
            {
                await _stService.Promote(input.Studies, input.Semester);

                return(StatusCode(201));
            }
        }