Exemple #1
0
 public ClothesMainEntityConverter(IGenderEntityConverter genderEntityConverter,
                                   IClothesTypeEntityConverter clothesTypeEntityConverter,
                                   IColorClothesEntityConverter colorClothesEntityConverter,
                                   ISizeGroupMainEntityConverter sizeGroupMainEntityConverter,
                                   IClothesImageEntityConverter clothesImageEntityConverter)
 {
     _genderEntityConverter        = genderEntityConverter;
     _clothesTypeEntityConverter   = clothesTypeEntityConverter;
     _colorClothesEntityConverter  = colorClothesEntityConverter;
     _sizeGroupMainEntityConverter = sizeGroupMainEntityConverter;
     _clothesImageEntityConverter  = clothesImageEntityConverter;
 }
Exemple #2
0
 public ClothesDatabaseService(IBoutiqueDatabase boutiqueDatabase,
                               IClothesDatabaseValidateService clothesDatabaseValidateService,
                               IClothesEntityConverter clothesEntityConverter,
                               IClothesDetailEntityConverter clothesDetailEntityConverter,
                               IClothesMainEntityConverter clothesMainEntityConverter,
                               IClothesImageEntityConverter clothesImageEntityConverter)
     : base(boutiqueDatabase, boutiqueDatabase.ClothesTable, clothesDatabaseValidateService, clothesMainEntityConverter)
 {
     _clothesTable                 = boutiqueDatabase.ClothesTable;
     _clothesEntityConverter       = clothesEntityConverter;
     _clothesDetailEntityConverter = clothesDetailEntityConverter;
     _clothesImageEntityConverter  = clothesImageEntityConverter;
 }