public ActionResult ProductByFilter()
        {
            ViewModelProductFind filter = null;

            if (TempData["dataModel"] != null)
            {
                filter = (ViewModelProductFind)TempData["dataModel"];
            }
            ViewModelProductByFilter model = new ViewModelProductByFilter(productService, photoService, filter);

            return(PartialView(model));
        }
 public ActionResult Index(ViewModelProductFind viewModel)
 {
     TempData["dataModel"] = viewModel;
     return(Json("OK"));
     //ViewModelProductFind model = new ViewModelProductFind(categoryService, manufacturerService);
 }
        // GET: ProductFind
        public ActionResult Index()
        {
            ViewModelProductFind model = new ViewModelProductFind(categoryService, manufacturerService);

            return(View(model));
        }