Esempio n. 1
0
 public RentaForm(int userId = 0, int vehiculoId = 0)
 {
     _userId     = userId;
     _vehiculoId = vehiculoId;
     _rentaRepo  = new RentaRepo();
     _userRepo   = new UserRepo();
     InitializeComponent();
 }
Esempio n. 2
0
 public ModifyRenta(int userId = 0, int vehiculoId = 0, int rentaId = 0, int inspeccionId = 0, string keyword = "")
 {
     _userId         = userId;
     _vehiculoId     = vehiculoId;
     _rentaId        = rentaId;
     _keyword        = keyword;
     _rentaRepo      = new RentaRepo();
     _inspeccionId   = inspeccionId;
     _inspeccionRepo = new InspeccionRepository();
     _clienteRepo    = new ClienteRepo();
     _loadCombo      = new LoadComboBoxesRepo();
     InitializeComponent();
 }