Application.Web.Controllers.LaptopsAdministrationController.Index C# (CSharp) Méthode

Index() public méthode

public Index ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            var laptops = db.Laptops.Include(l => l.Manufacturer);
            return View(laptops.ToList());
        }