public ReportePartidasAprController() { partAprSrv = partAprSrv ?? new ReportePartidasAprService(); // reportExcelService = reportExcelService ?? new ReporterService(); catalagoService = new CatalogoService(); serviceComprobante = new ComprobanteService(); usuarioAreaService = usuarioAreaService ?? new UsuarioAreaService(); usuarioService = usuarioService ?? new UserService(); partApConcSrv = partApConcSrv ?? new ReportePartidasAprConciliablesService(); parService = parService ?? new ParametroService(); Ctaservice = Ctaservice ?? new CuentaContableService(); }
public ReportePartidasAprController(IReportePartidasAprService PartService, ICatalogoService cat, ICatalogoService serv, IComprobanteService comprob, IUsuarioAreaService userArea, IAreaOperativaService area, IUserService usuario, IReportePartidasAprConciliableService PartApConcSrv, IUsuarioEmpresaService objUsuarioAreaService) { // reportService = rep; // reportExcelService = repexcel; catalagoService = serv; serviceComprobante = comprob; usuarioAreaService = userArea; areaOperativaService = area; usuarioService = usuario; catalogoService = cat; partAprSrv = PartService; comprobanteService = comprobanteService ?? new ComprobanteService(); eventoServ = eventoServ ?? new EventosService(); partApConcSrv = PartApConcSrv; usuarioEmpresaService = objUsuarioAreaService; parService = parService ?? new ParametroService(); }