Ejemplo n.º 1
0
 public StudentController()
 {
     repo          = new CUDEntityRepo <Student>(context);
     getEntityRepo = new GetStudentRepo(context);
 }
Ejemplo n.º 2
0
 public CUDEntityRepo(Context context, IGetEntityRepo <T> getEntityRepo)
 {
     this.context       = context;
     this.getEntityRepo = getEntityRepo;
 }
Ejemplo n.º 3
0
 public EnrollmentController()
 {
     this.getEnrollmentRepo = new GetEnrollmentRepo(context);
     this.getitemEnrollRepo = new GetItemEnrollmentRepo(context);
     this.repo = new CUDEntityRepo <Enrollment>(context, this.getitemEnrollRepo);
 }