Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Old1Controller : Controller
- {
- private readonly ProductService _productService;
- public Old1Controller()
- {
- _productService = new ProductService();
- }
- // GET: Old1
- public ActionResult Index()
- {
- var allProducts = _productService.GetAllProductsByStatus();
- return View();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement