Example #1
0
 public ProductRepository(ProductContext productContext
                          , IArtikelRepository artikelRepository, ICategoryRepository categoryRepository
                          , IColorCodeRepository colorCodeRepository, IColorRepository colorRepository
                          )
 {
     _productContext      = productContext;
     _artikelRepository   = artikelRepository;
     _categoryRepository  = categoryRepository;
     _colorCodeRepository = colorCodeRepository;
     _colorRepository     = colorRepository;
 }
Example #2
0
 public ColorCodeService(IColorCodeRepository colorCodeRepository, IUnitOfWork unitOfWork)
 {
     this._colorCodeRepository = colorCodeRepository;
     this._unitOfWork          = unitOfWork;
 }
Example #3
0
 public ColorCodesController(IColorCodeRepository colorCodeRepository, ILogger <ColorCodesController> logger)
 {
     _colorCodeRepository = colorCodeRepository;
     _logger = logger;
 }
 public ColorCodeService(IMapper mapper, IColorCodeRepository colorCodeRepository, MapperConfiguration configMapper)
 {
     _configMapper        = configMapper;
     _mapper              = mapper;
     _colorCodeRepository = colorCodeRepository;
 }