Cars.Controllers.CarsController.Index C# (CSharp) Method

Index() public method

public Index ( ) : IView
return IView
        public IView Index()
        {
            var cars = this.carsData.All();
            return new View(cars);
        }