public IActionResult Details(int Id) { var samochod = _samochodRepository.PobierzSamochodPoId(Id); if (samochod == null) { return(NotFound()); } return(View(samochod)); }
public IActionResult Szczegoly(int id) { var samochod = _samochodRepository.PobierzSamochodPoId(id); if (samochod == null) { return(NotFound()); } return(View(samochod)); }