public EnrollmentResultQueryList Handle(EnrollmentInputGetPreEnrollments command) { var result = new EnrollmentResultQueryList(); result.Enrollment = _EREP.GetPreEnrollments(); return(result); }
public EnrollmentResultQueryList Handle(EnrollmentInputListByStudent command) { var result = new EnrollmentResultQueryList(); result.Enrollment = _EREP.GetByStudent(command.StudentId); return(result); }