public IActionResult OnPost() { CarServive.addCar(Car); return(RedirectToPage("./Cars")); }
public void OnGet() { Cars = CarServive.GetCars(); }
public IActionResult OnPost() { CarServive.addCar(Car); return(RedirectToPage("./Cars")); }
public void OnGet() { Cars = CarServive.GetCars(); }