In 3.6 ?I have a product grid that looks something like this

Name      Description    Price    Quantity
Widget1   some info      $$         12

The name field is a link to open a model window that shows the product picture and more details if the user clicks the name in the model window it opens the normal product window.

With code kinda like this in the productcontroller

public ActionResult ProductBoxPopUp(int productId)
        {
            bool isAssociatedProduct = false;
            ProductOverviewModel model = new ProductOverviewModel();
            var product = _productService.GetProductById(productId);
            if (product == null || product.Deleted)
                return InvokeHttp404();

            model.Id = product.Id;
            model.Name = product.GetLocalized(x => x.Name);
            model.ShortDescription = product.GetLocalized(x => x.ShortDescription);
            model.FullDescription = product.GetLocalized(x => x.FullDescription);
            model.SeName = product.GetSeName();
            return PartialView("ProductBoxPopUp", model);
        }


In 3.9 things have changed to factories so all my code in that productcontroller is no longer viable

So my question is how do I do this now?  I need a pop up with a product picture and some description info.  Can someone point me in the right direction please.  Some what new to this could use some help.