Ejemplo n.º 1
0
        public override void SetRepositories()
        {
            _service = new DynamixService((U, P, A) =>
                                          ExecuteQueryWithTypedParametersAndNetworkAccessAsync(U, P, A));
            var AddTrustedSourceService = new DynamixReturnService <DynamicTrustedSourceAddReturn>((U, P, A) =>
                                                                                                   ExecuteQueryWithReturnTypeAndNetworkAccessAsync <DynamicTrustedSourceAddReturn>(U, P, A));
            var AddBeneficiaryService = new DynamixReturnService <DynamixBeneficiaryAddReturn>((U, P, A) =>
                                                                                               ExecuteQueryWithReturnTypeAndNetworkAccessAsync <DynamixBeneficiaryAddReturn>(U, P, A));

            addTrustedSourceRepo     = new AddTrustedSourceRepository(_MasterRepo, _service, AddTrustedSourceService);
            addBeneficiaryRepository = new AddBeneficiaryRepository(_MasterRepo, _service, AddBeneficiaryService);
            _selfieRepo = new SelfieRepository(_MasterRepo);
        }
Ejemplo n.º 2
0
 public ContactDetailRepository(IMasterRepository masterRepository, IAddTrustedSourceRepository repository)
     : base(masterRepository)
 {
     _Reposetory = repository;
 }