Beispiel #1
0
 //   R E A D
 public IActionResult Index()
 {
     return View(_repository.GetAllBikes().OrderBy(b => b.Year));
 }
 public IEnumerable <IBike> GetAllBike()
 {
     return(_bikeRepository.GetAllBikes().Result);
 }