public async Task <Enrollment> GetEnrollmentAsync(int userId, int couseId) { return(_mapper.Map <Enrollment>( await _enrollmentRepository.GetEnrollmentAsync(userId, couseId) )); }