public ProductsToCustomerController(IProductsToCustomer productsToCustomer, ICustomerService CustomerService,
                                     IProductService productService, IMapper mapper)
 {
     _productsToCustomer = productsToCustomer;
     _CustomerService    = CustomerService;
     _productService     = productService;
     _mapper             = mapper;
 }
        public OrderController(IProductService productService, ICategoryService categoryService, IMapper mapper,
                               IProductsToCustomer productsToCustomer, IProductDetailsService productDetailsService)
        {
            _productService        = productService;
            _categoryService       = categoryService;
            _productsToCustomer    = productsToCustomer;
            _productDetailsService = productDetailsService;

            _categoryService.GetListAsync();
            _productDetailsService.GetListAsync();
        }