Esempio n. 1
0
 private EnrolInBlockHandler GetHandler()
 {
     return(new EnrolInBlockHandler(
                _userRepositoryBuilder.BuildObject(),
                new BlockEnrolmentService(_blockRepositoryBuilder.BuildObject()),
                _postOfficeBuilder.BuildObject()));
 }
 private CheckStudentIntoClassHandler GetHandler()
 {
     return(new CheckStudentIntoClassHandler(ClassRepositoryBuilder.BuildObject(), UserRepositoryBuilder.BuildObject()));
 }
 private UpdatePassValidator GetValidator()
 {
     return(new UpdatePassValidator(_passRepositoryBuilder.BuildObject()));
 }
 private CreateUserValidator GetValidator()
 {
     return(new CreateUserValidator(
                _userRepositoryBuilder.BuildObject()));
 }
Esempio n. 5
0
 private UserPassAppender GetUserPassAppender()
 {
     return(new UserPassAppender(new PassCreatorFactory(ClassRepositoryBuilder.BuildObject())));
 }
Esempio n. 6
0
 private CheckStudentIntoClassValidator GetValidator()
 {
     return(new CheckStudentIntoClassValidator(
                _userRepositoryBuilder.BuildObject(),
                _classRepositoryBuilder.BuildObject()));
 }