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); }
public ContactDetailRepository(IMasterRepository masterRepository, IAddTrustedSourceRepository repository) : base(masterRepository) { _Reposetory = repository; }