public ActionResult Create()
        {
            ProductManagerViewmodel productManagerviewModel = new ProductManagerViewmodel();

            productManagerviewModel.product           = new Product();
            productManagerviewModel.productCategories = productcategories.collection();
            return(View(productManagerviewModel));
        }
        public ActionResult Edit(string Id)
        {
            Product product = context.find(Id);

            if (product == null)
            {
                return(HttpNotFound());
            }
            else
            {
                ProductManagerViewmodel viewModel = new ProductManagerViewmodel();
                viewModel.product           = product;
                viewModel.productCategories = productcategories.collection();
                return(View(viewModel));
            }
        }