コード例 #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;
 }
コード例 #2
0
 public OrderController(SqlOffer offerRepository, SqlOrder orderRepository, SqlReceive receiveRepository)
 {
     this._offerRepository   = offerRepository;
     this._orderRepository   = orderRepository;
     this._receiveRepository = receiveRepository;
 }