public SalesRepController(IMapper mapper, IProductRepository productRepository, ICartRepository cartRepository,
                           ISalesDetailRepository salesDetailRepository, ISalesRepository salesRepository)
 {
     _productRepository     = productRepository;
     _mapper                = mapper;
     _cartRepository        = cartRepository;
     _salesDetailRepository = salesDetailRepository;
     _salesRepository       = salesRepository;
 }
Exemplo n.º 2
0
 public SalesDetailsController(ISalesDetailRepository salesdetailsRepository, IReferenceManagerRepository refNo)
 {
     this.salesdetailsRepository = salesdetailsRepository;
     this.refNo = refNo;
 }