Ejemplo n.º 1
0
 public CategoryService(IHexaRepository <Category> categoryRepository,
                        IPictureService pictureService,
                        IMapper mapper)
 {
     _categoryRepository = categoryRepository;
     _pictureService     = pictureService;
     _mapper             = mapper;
 }
Ejemplo n.º 2
0
 public ProductService(IHexaRepository <Product> productRepository,
                       IHexaRepository <ProductCategoryMapping> productCategoryRepository,
                       IHexaRepository <ProductPictureMapping> productPictureMapping,
                       IMapper mapper)
 {
     _productRepository         = productRepository;
     _productCategoryRepository = productCategoryRepository;
     _productPictureMapping     = productPictureMapping;
     _mapper = mapper;
 }
Ejemplo n.º 3
0
 public CustomerService(IHexaRepository <Customer> customerRepository,
                        IHexaRepository <TokenManager> tokenManagerRepository,
                        IHexaRepository <CustomerRole> customerRoleRepository,
                        IHexaRepository <CustomerCustomerRole> customerCustomerRoleRepository,
                        IMapper mapper)
 {
     _customerRepository             = customerRepository;
     _tokenManagerRepository         = tokenManagerRepository;
     _customerRoleRepository         = customerRoleRepository;
     _customerCustomerRoleRepository = customerCustomerRoleRepository;
     _mapper = mapper;
 }
Ejemplo n.º 4
0
 public LogService(IHexaRepository <Log> logRepository,
                   IMapper mapper)
 {
     _logRepository = logRepository;
     _mapper        = mapper;
 }
Ejemplo n.º 5
0
 public PictureService(IHexaRepository <Picture> pictureRepository,
                       IMapper mapper)
 {
     _pictureRepository = pictureRepository;
     _mapper            = mapper;
 }