public static IList <EnrollmentPreview> GetList(int studentId) { var repo = new EnrollmentRepository(UowFactory.Get()); return(ModelHelper.FetchList <EnrollmentPreview>(repo.GetByStudentId(studentId))); }
public static IList <EnrollmentPreview> GetList(int studentId) { var repo = new EnrollmentRepository(UowFactory.Get()); return(ModelHelper.FetchList <EnrollmentPreview>(repo.GetByStudentId(studentId))); }