private static void OptionAddLocation(LocationController locationController) { var location = new Location() { ClientID = GetIntConsole("Id client : "), VehiculeID = GetIntConsole("Id vehicule : "), NbKm = GetIntConsole("NbKm"), DateDebut = GetDateConsole("Date debut : "), }; WriteLine(locationController.CreateLocation(location)); }
private static void OptionCreateLocation(LocationController locationController) { var location = new Location() { IdClient = GetIntConsole("Id client : "), IdVehicule = GetIntConsole("Id vehicule : "), NbKm = GetIntConsole("NbKm"), DateDebut = GetDateConsole("Date debut : "), DateFin = GetDateConsole("Date fin : ") }; WriteLine(locationController.CreateLocation(location)); }
private static void OptionCreateLocation(LocationController locationController) { var location = new LOUE() { ID_CLIENT = GetIntConsole("Id client : "), ID_VEHICULE = GetIntConsole("Id vehicule : "), NB_KM = GetIntConsole("NbKm"), DATE_DEBUT = GetDateConsole("Date debut : "), DATE_FIN = GetDateConsole("Date fin : ") }; WriteLine(locationController.CreateLocation(location)); }