public void EnrollmentCreationWithHashParam() { Hashtable input = JsonConvert.DeserializeObject <Hashtable>(EnrollmentInput); EnrollmentNpisResponse actualResponse = enrollment.Create(input); EnrollmentCreationSuccessCheck(actualResponse.JsonResponse()); }
public void EnrollmentCreationWithHashtableTest() { GetResponse(); var response = enrollment.Create(param); PerformEnrollmentCreationTest(response.JsonResponse()); }
public async Task EnrollStudent(long StudentId, Guid CourseId) { var @enrollment = Enrollment.Create(1, StudentId, CourseId); await _enrollmentRepository.InsertAsync(@enrollment); }