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