Пример #1
0
        public async Task <Enrollment> GetSingleEnrollment(long enrollmentId, CancellationToken cancellationToken)
        {
            var enrollment = await _context.GetEnrollmentById(enrollmentId, cancellationToken);

            var apiEnrollment = EnrollmentConverter.EntityToApiModel(enrollment);

            return(apiEnrollment);
        }