Exemple #1
0
        public StudentGuardianServiceTests()
        {
            this.storageBrokerMock  = new Mock <IStorageBroker>();
            this.dateTimeBrokerMock = new Mock <IDateTimeBroker>();
            this.loggingBrokerMock  = new Mock <ILoggingBroker>();

            this.studentGuardianService = new StudentGuardianService(
                storageBroker: this.storageBrokerMock.Object,
                dateTimeBroker: this.dateTimeBrokerMock.Object,
                loggingBroker: this.loggingBrokerMock.Object);
        }
Exemple #2
0
 public StudentGuardiansController(IStudentGuardianService studentGuardianService) =>
 this.studentGuardianService = studentGuardianService;