Beispiel #1
0
        Program(IEcoScooterService service)
        {
            this.service = service;

            service.removeAllData();

            // Adding EcoScooter
            addEcoScooter();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Adding Users
            addUsers();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Testing login
            testLogin();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // More login testing
            testLogin2();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Adding Stations
            addStations();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Adding Scooters
            addScooters();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Renting Scooters
            rentScooters();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Returning Scooters
            returnScooters();
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();

            // Get User Routes
            getUserRoutes();
            Console.WriteLine("FINISH - Press any key to continue...");
            Console.ReadKey();
        }
 public formRegistrar(IEcoScooterService service) : this()
 {
     this.service = service;
 }
 public registrarIncidente(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
 public ventanaIniciado(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
     label3.Text  = service.userLogged().Name;
 }
Beispiel #5
0
 public ventanaRutas(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
 public formRegistrarScooter(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
 public devolverPatinete(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
 public ventanaRegistrarse(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
Beispiel #9
0
 public Inicio(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
 public formVistaUserLogged(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
Beispiel #11
0
 public formInicioSesion(IEcoScooterService service) : this()
 {
     this.service = service;
 }
 public registrarEstacion(IEcoScooterService service)
 {
     InitializeComponent();
     this.service = service;
 }
Beispiel #13
0
 public formEmpleadoLoggeado(IEcoScooterService service) : this()
 {
     this.service = service;
 }