Exemplo n.º 1
0
 public ProductService(IProductRepository productRepository, ICategoryRepository categoryRepository, IManifacturerRepository manifacturerRepository, IUnitOfWork unitOfWork)
 {
     _productRepository      = productRepository;
     _categoryRepository     = categoryRepository;
     _manifacturerRepository = manifacturerRepository;
     _unitOfWork             = unitOfWork;
 }
Exemplo n.º 2
0
 public ReportService(IUserRepository userRepository, IOrderItemRepository orderItemRepository, IOrderRepository orderRepository, IManifacturerRepository manifacturerRepository, IProductRepository productRepository, IUnitOfWork unitOfWork)
 {
     _orderItemRepository    = orderItemRepository;
     _orderRepository        = orderRepository;
     _manifacturerRepository = manifacturerRepository;
     _productRepository      = productRepository;
     _userRepository         = userRepository;
     _unitOfWork             = unitOfWork;
 }
Exemplo n.º 3
0
 public ManifacturerService(IManifacturerRepository manifacturerRepository, IUnitOfWork unitOfWork)
 {
     _manifacturerRepository = manifacturerRepository;
     _unitOfWork             = unitOfWork;
 }
Exemplo n.º 4
0
 public ManifacturersController(IManifacturerRepository repository, IMapper mapper) : base(mapper)
 {
     _repository = repository;
 }