public ReporteController(IServiceProvider serviceProvider, IReportes reportes, IColaborador colaborador, IDigitalizacion digitalizacion, IEmpresa Empresa) : base(serviceProvider) { _digitalizacion = digitalizacion; _Empresa = Empresa; _colaborador = colaborador; _reportes = reportes; }
public ReporteEficienciaViewModel() { this._ReportesRepository = new GestorDocument.DAL.Repository.ReportesRepository(); this.GetTurnos(); this.GetPrioridad(); this.GetFecha(); this.LoadInfo(); }
private void btnSeleccionar_Click(object sender, EventArgs e) { //Provee el codigo del articulo a ser buscado IReportes FormInterfaceReporte = this.Owner as IReportes; if (FormInterfaceReporte != null && ArticuloID != null) { if (Seleccion == 1) { FormInterfaceReporte.SeleccionarCodigoDesde(ArticuloID); } else if (Seleccion == 2) { FormInterfaceReporte.SeleccionarCodigoHasta(ArticuloID); } this.Close(); } }
/// <summary> /// Metodo que ejecuta el comando /// </summary> /// <returns>booleano que refleja el exito de la ejecucion del comando</returns>// <summary> /// public override List <Entidad> Ejecutar() { try { IReportes dao = FabricaDAOSqlServer.crearDaoReportes1(); List <Entidad> respuesta = dao.ConsultarTodos(this.LaEntidad); return(respuesta); } catch (ArgumentNullException ex) { throw new NullArgumentException(ResourcesLogic.Codigo, ResourcesLogic.Mensaje, ex); } catch (FormatException ex) { throw new WrongFormatException(ResourcesLogic.Codigo, ResourcesLogic.Mensaje_Error_Formato, ex); } catch (Exception ex) { throw ex; } }
public DashboardController(IReportes reportes, IPedidos pedidos) { _reportes = reportes; _pedidos = pedidos; }
public ReporteController() { this._repo = new ReportesRepository(new JaverianaReservasContext()); }
public ReportesController(IReportes reportes, ICarreras carreras) { _reportes = reportes; _carreras = carreras; }
public ReportesController(IReportes reportes, ICategoriaProductos categorias, IPdfCreation pdfCreation) { _reportes = reportes; _categorias = categorias; _pdfCreation = pdfCreation; }