public GestorPrecio() { diaAtencionDao = new RepositorioDiaAtencion(); tiempoDao = new RepositorioTiempo(); tipoVehiculoDao = new RepositorioTipoVehiculo(); precioDao = new RepositorioPrecio(); servicioDao = new RepositorioServicio(); }
public GestorPrecio(IRepositorioDiaAtencion diaAtencionDao, IRepositorioTiempo tiempoDao, IRepositorioTipoVehiculo tipoVehiculoDao, IRepositorioPrecio precioDao) { this.precioDao = precioDao; this.tiempoDao = tiempoDao; this.tipoVehiculoDao = tipoVehiculoDao; this.diaAtencionDao = diaAtencionDao; }
/// <summary> /// Constructor /// </summary> public GestorPlaya() { gestorDireccion = new GestorDireccion(); tipoVehiculoDao = new RepositorioTipoVehiculo(); playaDao = new RepositorioPlayaDeEstacionamiento(); tipoPlayaDao = new RepositorioTipoDePlaya(); diaAtencionDao = new RepositorioDiaAtencion(); horarioDao = new RepositorioHorario(); servicioDao = new RepositorioServicio(); precioDao = new RepositorioPrecio(); tiempoDao = new RepositorioTiempo(); }