public ProductController(
     ProductProcessor productProcessor,
     IEntitySerializer serializer,
     IEntityDeserializer deserializer,
     IImageFetcher imageFetcher
     )
 {
     _productProcessor = productProcessor;
     _serializer       = serializer;
     _deserializer     = deserializer;
     _imageFetcher     = imageFetcher;
 }
示例#2
0
 public SqlDatabase(IEntityDeserializer deserializer, string connectionString)
 {
     deserializer_            = deserializer;
     defaultConnectionString_ = connectionString;
 }