示例#1
0
        public IActionResult Index()
        {
            ViewBag.Rent = _context.GetRents();
            ViewBag.Car  = _context.GetCars();

            return(View());
        }
示例#2
0
 public IActionResult Index()
 {
     ViewBag.Cars  = _context.GetCars();
     ViewBag.Teams = _context.GetTeams();
     return(View());
 }