public ProductWriteRepository(DatabaseConnectionString connectionString, ICategoryWriteRepository categoryRepository) { _categoryRepository = categoryRepository; _connectionString = connectionString.Value; }
public ShopController(ICategoryWriteRepository categoryWriteRepository, ICategoryReadRepository categoryReadRepository) { _categoryReadRepository = categoryReadRepository; _categoryWriteRepository = categoryWriteRepository; }
public CategoryCommandHandler(ICategoryWriteRepository writeRepository) { _writeRepository = writeRepository; }