Exemple #1
0
 public ProductsController(SqlProduct proRepository, SqlProductLot proLotRepository, SqlColor colorRepository,
                           SqlBrand brandRepository, SqlTypeproduct typeRepository, SqlTradmark tradRepository, SqlOffer offerRepository)
 {
     this._proRepository    = proRepository;
     this._proLotRepository = proLotRepository;
     this._colorRepository  = colorRepository;
     this._brandRepository  = brandRepository;
     this._typeRepository   = typeRepository;
     this._tradRepository   = tradRepository;
     this._offerRepository  = offerRepository;
 }
Exemple #2
0
 public BrandManager(IBrandDao brandDao)
 {
     _brandDao = brandDao;
 }