// GET: Products/Create
        public ActionResult Create()
        {
            var categories = productCategoriesService.GetProductCategories();

            ViewBag.productCategories = new SelectList(categories, "Key", "Value");
            return(View());
        }
 public async Task <IEnumerable <ProductCategoryDto> > GetProductCategories()
 {
     return(await _iProductCategoryService.GetProductCategories());
 }