public async Task <dynamic> Add(StudentGroupRequest studentGroupRequest)
        {
            if (studentGroupRequest == null)
            {
                AddError("20000");
                return(null);
            }

            var course = await _courseRepository.FindById(studentGroupRequest.CourseId);

            var studentGroup = StudentGroup.Create(studentGroupRequest.Name, course);

            _studentGroupRepository.Add(studentGroup);

            var studentResponse = _mapper.Map <StudentGroup, StudentGroupResponse>(studentGroup);

            return(await Task.FromResult(studentResponse));
        }