public CreateReservacionVueloInteractor(EntityFramework.Database.IDataBaseSqlServerEntityFramework database, IMapper mapper) { this._vueloQuery = new EntityFramework.Queries.QueryBase <Domain.Vuelo>(database); this._clienteQuery = new EntityFramework.Queries.QueryBase <Domain.Cliente>(database); this._pasajeroRepository = new EntityFramework.Repositories.Base.Repository <Domain.Pasajero>(database); this._operacionRepository = new EntityFramework.Repositories.Base.Repository <Domain.Operacion>(database); this._mapper = mapper; }
public GetVuelosInteractor(EntityFramework.Database.IDataBaseSqlServerEntityFramework database, IMapper mapper) { this._vueloQuery = new EntityFramework.Queries.QueryBase <Domain.Vuelo>(database); this._mapper = mapper; }