コード例 #1
0
 public ProductController(IProductRepository productRepo, IMappingConfigProvider mapConfig)
 {
     this.productRepo = productRepo;
     this.mapConfig   = mapConfig;
 }
コード例 #2
0
ファイル: BrandRepository.cs プロジェクト: siegerFalkena/NEXT
 public BrandRepository(NEXTContext context, IMappingConfigProvider mapperConfigProvider)
 {
     this.context = context;
     mapper       = mapperConfigProvider.getConfig().CreateMapper();
 }
コード例 #3
0
 //TODO pagination and resultselection on related
 public ProductRepository(NEXTContext context, IMappingConfigProvider mapConfig)
 {
     this._context   = context;
     this._mapConfig = mapConfig;
     mapper          = _mapConfig.getConfig().CreateMapper();
 }