Esempio n. 1
0
 public SchoolCommandHandlerTests()
 {
     _schoolRepository     = new Mock <ISchoolRepository>();
     _cancelationToken     = new CancellationToken();
     _schoolCommandHandler = new SchoolCommandHandler(_schoolRepository.Object);
 }
Esempio n. 2
0
 public SchoolController(ISchoolRepository repository, SchoolCommandHandler handler)
 {
     _repository = repository;
     _handler    = handler;
 }