Beispiel #1
0
 public ReportersController(
     IReporterService reporters,
     ICurrentUserService currentUser)
 {
     this.reporters   = reporters;
     this.currentUser = currentUser;
 }
 public void Setup()
 {
     validator              = new AccountBalanceRequestValidator();
     reportGenerator        = new BalanceReportGenerator();
     accountRequestParser   = new AccountRequestParser();
     balanceReporterService = new BalanceReporterService(accountRequestParser, reportGenerator, validator);
 }
 public CuentaContableController()
 {
     service              = service ?? new CuentaContableService();
     empresaService       = empresaService ?? new EmpresaService();
     areaOperativaService = areaOperativaService ?? new AreaOperativaService();
     reportExcelService   = reportExcelService ?? new ReporterService();
     eventoService        = new EventosService();
 }
 public ReporterController(
     IReporterService reporters,
     ICurrentUserService currentUser,
     IMapper mapper)
 {
     this.reporters   = reporters;
     this.currentUser = currentUser;
     this.mapper      = mapper;
 }
Beispiel #5
0
 public ReporteRegistroControlController()
 {
     reportService      = reportService ?? new ReporteRegistroControlService();
     reportExcelService = reportExcelService ?? new ReporterService();
     catalagoService    = new CatalogoService();
     serviceComprobante = new ComprobanteService();
     usuarioAreaService = usuarioAreaService ?? new UsuarioAreaService();
     usuarioService     = usuarioService ?? new UserService();
 }
Beispiel #6
0
        public void Setup()
        {
            accountRequestParser = new Mock <IAccountRequestParser>();
            reportGenerator      = new Mock <IReportGenerator <BalanceReport> >();
            validator            = new Mock <IReportRequestValidator <AccountBalanceRequest> >();

            service = new BalanceReporterService(accountRequestParser.Object,
                                                 reportGenerator.Object, validator.Object);
        }
Beispiel #7
0
 public ReporteSaldoContableController()
 {
     reportService        = reportService ?? new ReporteSaldoContableService();
     reportExcelService   = reportExcelService ?? new ReporterService();
     areaOperativaService = areaOperativaService ?? new AreaOperativaService();
     usuarioAreaService   = usuarioAreaService ?? new UsuarioAreaService();
     usuarioSerive        = usuarioSerive ?? new UserService();
     usuarioEmpService    = usuarioEmpService ?? new UsuarioEmpresaService();
     saldoServ            = new reporteSaldoServ();
 }
Beispiel #8
0
 public IdentityController(
     IIdentityService identity,
     //ICurrentUserService currentUser,
     IReporterService reporters,
     IMapper mapper)
 {
     this.identity = identity;
     //this.currentUser = currentUser;
     this.reporters = reporters;
     this.mapper    = mapper;
 }
Beispiel #9
0
 public ReporteRegistroControlController(IReporteRegistroControlService rep, IReporterService repexcel, ICatalogoService cat,
                                         ICatalogoService serv, IComprobanteService comprob, IUsuarioAreaService userArea, IAreaOperativaService area, IUserService usuario)
 {
     reportService        = rep;
     reportExcelService   = repexcel;
     catalagoService      = serv;
     serviceComprobante   = comprob;
     usuarioAreaService   = userArea;
     areaOperativaService = area;
     usuarioService       = usuario;
     catalogoService      = cat;
 }
Beispiel #10
0
 public ReportsController(
     IReportService reports,
     IReporterService reporters,
     IPetService pets,
     ILocationService locations,
     ICurrentUserService currentUser,
     IBus publisher)
 {
     this.reports     = reports;
     this.reporters   = reporters;
     this.pets        = pets;
     this.locations   = locations;
     this.currentUser = currentUser;
     this.publisher   = publisher;
 }
Beispiel #11
0
        public ReporteSaldoContableController(ISaldoContableService rep, IReporterService repexcel, IUsuarioAreaService userArea, IAreaOperativaService area, IUserService usuario,
                                              IUsuarioEmpresaService objUsuarioAreaService, ISaldoContableServ saldoServs, IEmpresaService EmpServs, ICuentaContableService CCSrvs)
        {
            reportService      = rep;
            reportExcelService = repexcel;
            usuarioAreaService = userArea;

            usuarioSerive        = usuario;
            areaOperativaService = area;

            usuarioEmpresaService = objUsuarioAreaService;
            saldoServ             = saldoServs;
            EmpServ   = EmpServs;
            CCService = CCSrvs;
        }
 public SaldoNoConciliableController()
 {
     service                  = service ?? new SaldoNoConciliableService();
     reportExcelService       = reportExcelService ?? new ReporterService();
     MovimientoControlService = MovimientoControlService ?? new MovimientoControlService();
 }
 public SaldoNoConciliableController(ISaldoNoConciliableService sa, IReporterService rp, IMovimientoControlService mc)
 {
     service                  = sa;
     reportExcelService       = rp;
     MovimientoControlService = mc;
 }
 public ReportController(IReporterService reports)
 {
     this.reports = reports;
 }
        //public ReporterController()
        //{
        //    reporterService = reporterService ?? new ReporterService();
        //    registroService = registroService ?? new RegistroControlService();
        //}

        public ReporterController(IReporterService reporterSvc, IRegistroControlService registroSvc)
        {
            reporterService = reporterSvc;
            registroService = registroSvc;
        }
 public HomeController(IReporterService reporterService, ITicketService ticketService)
 {
     this.reporterService = reporterService;
     this.ticketService   = ticketService;
 }
Beispiel #17
0
 public Operator(ICollection <IStation> stations, IBillingSystem billingSystem, IReporterService reporter) : this()
 {
     _reporter     = reporter;
     Stations      = stations;
     BillingSystem = billingSystem;
 }