public IActionResult ProductShow(int id) { //var productVM = new ProductShowViewModel(); //var productTypes = _productTypeBLL.GetAll(); var product = _productBLL.GetByid(id); var productVM = ProductShowViewModel.FromModel(product); return(View(productVM)); }