public AuthorizeController(IMasterRepository masterRepo, IAuthorizeService authorizeService, IUserRepository userRepository)
 {
     _hostingEnvironment = UtilsProvider.HostingEnvironment;
     _masterRepo         = masterRepo;
     _authorizeService   = authorizeService;
     _UserRepository     = userRepository;
 }
Exemple #2
0
        public RegisterRepository(IMasterRepository masterRepository, IRegisterService service, IDynamixService dynamix = null,
                                  IDynamixReturnService <List <DynamixContact> > dynamixReturn           = null,
                                  IDynamixReturnService <DynamixPolicy> dynasmicPolicyReturn             = null,
                                  IDynamixReturnService <DynamixCommunity> dynamixCommunityReturnService = null,
                                  IDynamixReturnService <GetUserReturnModel> dynamixUserReturnService    = null)
            : base(masterRepository)
        {
            _Service                       = service;
            _DynamixService                = dynamix;
            _DynamixReturnService          = dynamixReturn;
            _DynamixPolicyReturnService    = dynasmicPolicyReturn;
            _DynamixCommunityReturnService = dynamixCommunityReturnService;
            _DynamixUserReturnService      = dynamixUserReturnService;
            _PlatformBonsai                = new PlatformBonsai();
            BlobStorageRepository          = new AzureBlobStorageRepository(_MasterRepo);
            var platform = new PlatformRepository <RegisterViewModel>(masterRepository, _PlatformBonsai)
            {
                OnError = (errs) =>
                {
                    OnError?.Invoke(errs);
                }
            };

            _SelfieRepo = new SelfieRepository(_MasterRepo);
        }
Exemple #3
0
 public EntidadMunicipalService(IMasterRepository masterRepository, IEntidadMunicipalValidationService entidadMunicipalValidationService, IMunicipioValidationService municipioValidationService, IMapper mapper)
 {
     this.masterRepository = masterRepository;
     this.entidadMunicipalValidationService = entidadMunicipalValidationService;
     this.municipioValidationService        = municipioValidationService;
     this.mapper = mapper;
 }
Exemple #4
0
 public AccountLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, IMasterRepository masterRepository, SecretHashLogic secretHashLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor)
 {
     this.logger           = logger;
     this.tenantRepository = tenantRepository;
     this.masterRepository = masterRepository;
     this.secretHashLogic  = secretHashLogic;
 }
 public CuentaAhorroService(IMasterRepository masterRepository, IMapper mapper,
                            ICuentaAhorroValidationService cuentaAhorroValidationService)
 {
     this.masterRepository = masterRepository;
     this.mapper           = mapper;
     this.cuentaAhorroValidationService = cuentaAhorroValidationService;
 }
Exemple #6
0
 public TarjetaCreditoService(IMasterRepository masterRepository, IMapper mapper,
                              ITarjetaCreditoValidationService tarjetaCreditoValidationService)
 {
     this.masterRepository = masterRepository;
     this.mapper           = mapper;
     this.tarjetaCreditoValidationService = tarjetaCreditoValidationService;
 }
 public MyCommunityRepository(IMasterRepository masterRepository, IDynamixReturnService <DynamixCommunity> service,
                              IDynamixService dynservice)
     : base(masterRepository)
 {
     _Service        = service;
     _DynamixService = dynservice;
 }
 public LoginService(IMasterRepository masterRepository, IUsuarioValidationService usuarioValidationService,
                     IMapper mapper)
 {
     this.masterRepository         = masterRepository;
     this.usuarioValidationService = usuarioValidationService;
     this.mapper = mapper;
 }
 public AddTrustedSourceRepository(IMasterRepository masterRepository, IDynamixService service,
                                   IDynamixReturnService <DynamicTrustedSourceAddReturn> dynamixReturnService)
     : base(masterRepository)
 {
     _DynamixReturnService = dynamixReturnService;
     _DynamixService       = service;
 }
 public SelfieRepository(IMasterRepository masterRepository)
     : base(masterRepository)
 {
     _ImageRepo         = new ImageRepository(_MasterRepo);
     _PlatformBonsai    = new PlatformBonsai();
     _StorageRepository = new AzureBlobStorageRepository(_MasterRepo);
 }
        // int ConnctionLongMaxQuerryTimeOut = 100;

        public SyncRepository(IHostingEnvironment environment, IConfiguration config) : base(environment, config)
        {
            _config             = config;
            _hostingEnvironment = environment;
            minio             = new MinioServices();
            _masterRepository = new MasterRepository(_hostingEnvironment, _config);
        }
Exemple #12
0
 public BaseStorageRepository(IMasterRepository masterRepository, IOfflineStorageRepository offlineStorageRepo)
     : base(masterRepository)
 {
     OfflineStorageRepo         = offlineStorageRepo;
     Task.Run(async() => Exists = await CheckCreateModelTableAsync());
     TableCountQuery            = $"SELECT count(1) FROM sqlite_master WHERE type = 'table' AND name = '{tableName}'";
 }
Exemple #13
0
 public AddBeneficiaryRepository(IMasterRepository masterRepository, IDynamixService service,
                                 IDynamixReturnService <DynamixBeneficiaryAddReturn> dynamixReturnService)
     : base(masterRepository)
 {
     _DynamixReturnService = dynamixReturnService;
     _DynamixService       = service;
 }
Exemple #14
0
 public MasterService(IGenericRepository <LookupType> lookupRepository, IGenericRepository <LookupValues> lookupValuesRepository,
                      IMapper mapper, IMasterRepository masterRepository)
 {
     _lookupRepository       = lookupRepository;
     _lookupValuesRepository = lookupValuesRepository;
     _mapper           = mapper;
     _masterRepository = masterRepository;
 }
 public DataCrawlerServices(IHostingEnvironment environment, IMasterRepository masterRepo, IUnitOfWork unitOfWork, IConfiguration config)
 {
     _masterRepo         = masterRepo;
     _hostingEnvironment = environment;
     _unitOfWork         = unitOfWork;
     _config             = config;
     StorageServerId     = config.GetValue <int>("AppSettings:StorageServerId");
 }
Exemple #16
0
 public ProvinciaService(IMasterRepository masterRepository, IGeneralValidationService generalValidationService,
                         IProvinciaValidationService provinciaValidationService, IMapper mapper)
 {
     this.masterRepository           = masterRepository;
     this.generalValidationService   = generalValidationService;
     this.provinciaValidationService = provinciaValidationService;
     this.mapper = mapper;
 }
Exemple #17
0
 public ImageController(IHostingEnvironment environment, IMasterRepository masterRepo, IUnitOfWork unitOfWork, IConfiguration config, ISyncRepository syncRepository)
 {
     _masterRepository   = masterRepo;
     _hostingEnvironment = environment;
     _unitOfWork         = unitOfWork;
     _syncRepository     = syncRepository;
     _config             = config;
 }
 public SeccionService(IMasterRepository masterRepository, ISeccionValidationService seccionValidationService,
                       IDistritoMunicipalValidationService distritoMunicipalValidationService, IMapper mapper)
 {
     this.masterRepository                   = masterRepository;
     this.seccionValidationService           = seccionValidationService;
     this.distritoMunicipalValidationService = distritoMunicipalValidationService;
     this.mapper = mapper;
 }
 public AccountController(IApplicationAdminDbContext context, ITokenService tokenService, IMapper mapper
                          , IMasterRepository masterRepository)
 {
     _mapper           = mapper;
     _tokenService     = tokenService;
     _context          = context;
     _masterRepository = masterRepository;
 }
 public WelcomeRepository(IMasterRepository masterRepository,
                          IRegisterRepository registerRepo,
                          ISelfieRepository selfieRepo)
     : base(masterRepository)
 {
     _RegisterRepo = registerRepo;
     _SelfieRepo   = selfieRepo;
 }
Exemple #21
0
 //Clase e interfaz de validacion , interfaz de esta clase, DTOs,  mapper, mensajes constantes, dependecy intejection en startup
 public ClienteService(IMasterRepository masterRepository, IMapper mapper,
                       IGeneralValidationService generalValidationService, IClienteValidationService clienteValidationService)
 {
     this.masterRepository         = masterRepository;
     this.mapper                   = mapper;
     this.generalValidationService = generalValidationService;
     this.clienteValidationService = clienteValidationService;
 }
Exemple #22
0
 public SectorService(IMasterRepository masterRepository, ISectorValidationService sectorValidationService,
                      ISeccionValidationService seccionValidationService, IMapper mapper)
 {
     this.masterRepository         = masterRepository;
     this.sectorValidationService  = sectorValidationService;
     this.seccionValidationService = seccionValidationService;
     this.mapper = mapper;
 }
 public IntegranteJdVService(IMasterRepository masterRepository, IIntegranteJdVValidationService integranteJdVValidationService,
                             IJuntaDeVecinosValidationService juntaDeVecinosValidationService, IMapper mapper)
 {
     this.masterRepository = masterRepository;
     this.integranteJdVValidationService  = integranteJdVValidationService;
     this.juntaDeVecinosValidationService = juntaDeVecinosValidationService;
     this.mapper = mapper;
 }
Exemple #24
0
 public CompanyService(ICompanyRepository companyRepositry, IUserRepository userRepository, IMasterRepository masterRepository, IMasterService masterService, IUserService userService, ILogger <CompanyService> logger) : base(companyRepositry)
 {
     this.companyRepositry = companyRepositry;
     this.userRepository   = userRepository;
     this.masterRepository = masterRepository;
     this.masterService    = masterService;
     this.userService      = userService;
     this.logger           = logger;
 }
Exemple #25
0
 public TransaccionService(IMasterRepository masterRepository, IMapper mapper,
                           ITransaccionValidationService transaccionValidationService,
                           IProductoValidationService productoValidationService)
 {
     this.masterRepository             = masterRepository;
     this.mapper                       = mapper;
     this.transaccionValidationService = transaccionValidationService;
     this.productoValidationService    = productoValidationService;
 }
Exemple #26
0
 public JuntaDeVecinosService(IMasterRepository masterRepository, IJuntaDeVecinosValidationService juntaDeVecinosValidationService,
                              IBarrioValidationService barrioValidationService, IDistritoMunicipalValidationService distritoMunicipalValidationService, IMapper mapper)
 {
     this.masterRepository = masterRepository;
     this.juntaDeVecinosValidationService    = juntaDeVecinosValidationService;
     this.barrioValidationService            = barrioValidationService;
     this.distritoMunicipalValidationService = distritoMunicipalValidationService;
     this.mapper = mapper;
 }
 public ProductoService(IMasterRepository masterRepository, IMapper mapper,
                        IProductoValidationService productoValidationService,
                        IClienteValidationService clienteValidationService)
 {
     this.masterRepository          = masterRepository;
     this.mapper                    = mapper;
     this.productoValidationService = productoValidationService;
     this.clienteValidationService  = clienteValidationService;
 }
Exemple #28
0
 public HistorialTransaccionService(IMasterRepository masterRepository, IMapper mapper,
                                    IHistorialTransaccionValidationService historialTransaccionValidationService,
                                    IProductoValidationService productoValidationService)
 {
     this.masterRepository = masterRepository;
     this.mapper           = mapper;
     this.historialTransaccionValidationService = historialTransaccionValidationService;
     this.productoValidationService             = productoValidationService;
 }
 public IncidenciaUsuarioService(IMasterRepository masterRepository, IIncidenciaUsuarioValidationService incidenciaUsuarioValidationService,
                                 IIncidenciaValidationService incidenciaValidationService, IUsuarioValidationService usuarioValidationService, IMapper mapper)
 {
     this.masterRepository = masterRepository;
     this.incidenciaUsuarioValidationService = incidenciaUsuarioValidationService;
     this.incidenciaValidationService        = incidenciaValidationService;
     this.usuarioValidationService           = usuarioValidationService;
     this.mapper = mapper;
 }
 public BarrioService(IMasterRepository masterRepository, IBarrioValidationService barrioValidationService,
                      ISectorValidationService sectorValidationService, IDistritoMunicipalValidationService distritoMunicipalValidationService,
                      IMapper mapper)
 {
     this.masterRepository                   = masterRepository;
     this.barrioValidationService            = barrioValidationService;
     this.sectorValidationService            = sectorValidationService;
     this.distritoMunicipalValidationService = distritoMunicipalValidationService;
     this.mapper = mapper;
 }
Exemple #31
0
 public BookingHandler(IMasterRepository w, IEventRepository q)
 {
     writer = w;
     queue = q;
 }