public string GetAllCars() { List <Car> cars = carMethods.GetCars(); var json = JsonConvert.SerializeObject(cars); return(json); }
public List <Car> GetAllCars() { return(carMethods.GetCars()); }
public string GetAllCars() { List <Car> cars = carMethods.GetCars(); var json = JsonConvert.SerializeObject(cars); return(json); }
public List <Car> GetAllCars() { return(carMethods.GetCars()); }