public SupervisorController(ISupervisorService objSupervisorService, ISupervisorTempService objSupervisorTempService, IUsuarioEmpresaService objUsuarioAreaService, IEmpresaAreasCentroCostoService eacc, IUsuariosPorRoleService usrRol, IAspNetUserRolesService ue, IUserService userServ, IUsuarioAreaService uas) { objInj = ue; supervisorService = objSupervisorService; supervisorTempService = objSupervisorTempService; usuarioEmpresaService = objUsuarioAreaService; empresaAreaCentroCostoService = eacc; usuarioRol = usrRol; userService = userServ; usuarioAreaService = uas; }
public FileController() { //registroService = registroService ?? new RegistroControlService(); partService = partService ?? new PartidasService(); centService = centService ?? new CentroCostoService(); empService = empService ?? new EmpresaService(); ctaService = ctaService ?? new CuentaContableService(); cncService = cncService ?? new ConceptoCostoService(); registroService = registroService ?? new RegistroControlService(); monedaSrv = monedaSrv ?? new MonedaService(); areaOperativaService = areaOperativaService ?? new AreaOperativaService(); paramService = paramService ?? new ParametroService(); paramEmpresaAreaCentroCostoService = paramEmpresaAreaCentroCostoService ?? new EmpresaAreasCentroCostoService(); paramEmpresaCentro = paramEmpresaCentro ?? new EmpresaCentroService(); fileService = fileService ?? new FilesProvider(partService, centService, empService, cncService, ctaService, monedaSrv, areaOperativaService, paramService, paramEmpresaAreaCentroCostoService, paramEmpresaCentro); }
public RegistroControlService(RegistroControl ao) : base(ao) { registroControl = ao; fileProvider = fileProvider ?? new FilesProvider(); partidaService = partidaService ?? new PartidasService(); ctaService = ctaService ?? new CuentaContableService(); centroCostoService = centroCostoService ?? new CentroCostoService(); empresaService = empresaService ?? new EmpresaService(); conceptoCostoService = conceptoCostoService ?? new ConceptoCostoService(); monedaService = monedaService ?? new MonedaService(); paramService = paramService ?? new ParametroService(); areaOperativaService = areaOperativaService ?? new AreaOperativaService(); empresaAreaCentroCostoSrv = empresaAreaCentroCostoSrv ?? new EmpresaAreasCentroCostoService(); empresaCentroSrv = empresaCentroSrv ?? new EmpresaCentroService(); empresaUsuarioService = empresaUsuarioService ?? new UsuarioEmpresaService(); }
public RegistroControlService(RegistroControl ao, IFilesProvider provider, IPartidasService partSvc, ICuentaContableService ctaSvc, ICentroCostoService centroCosSvc, IEmpresaService empSvc, IConceptoCostoService cocosSvc) : base(ao) { registroControl = ao ?? new RegistroControl(); fileProvider = provider ?? new FilesProvider(); partidaService = partSvc ?? new PartidasService(); ctaService = ctaSvc ?? new CuentaContableService(); centroCostoService = centroCosSvc ?? new CentroCostoService(); empresaService = empSvc ?? new EmpresaService(); conceptoCostoService = cocosSvc ?? new ConceptoCostoService(); monedaService = monedaService ?? new MonedaService(); paramService = paramService ?? new ParametroService(); areaOperativaService = areaOperativaService ?? new AreaOperativaService(); empresaAreaCentroCostoSrv = empresaAreaCentroCostoSrv ?? new EmpresaAreasCentroCostoService(); empresaCentroSrv = empresaCentroSrv ?? new EmpresaCentroService(); empresaUsuarioService = empresaUsuarioService ?? new UsuarioEmpresaService(); }