Exemplo n.º 1
0
 public FindPagedQueryGenericHandler(IGenericAsyncRepository <TEntity> genericRepository)
 {
     this.GenericRepository = genericRepository;
 }
Exemplo n.º 2
0
 public QuoteRiskUpdateHandler(IGenericAsyncRepository <Risk> riskRepository)
 {
     this.riskRepository = riskRepository;
 }
Exemplo n.º 3
0
 public FindAllValidationRulesHandler(IGenericAsyncRepository <ValidationRule> genericRepository) : base(genericRepository)
 {
 }
Exemplo n.º 4
0
 public FindEntityQueryHandler(IGenericAsyncRepository <TEntity> genericRepository)
 {
     this.GenericRepository = genericRepository;
 }
Exemplo n.º 5
0
 public PolicyCreateHandler(IGenericAsyncRepository <Policy> policyGenericRepository)
 {
     this.policyGenericRepository = policyGenericRepository;
 }
        protected BaseRepositoryViewModel(IGenericAsyncRepository <TKey, TEntity> repository)
        {
            Repository = repository ?? throw new NullReferenceException("Repository was null");

            new TaskFactory().StartNew(async() => await Load().ConfigureAwait(false));
        }
 public FindRisksForPolicyHandler(IGenericAsyncRepository <Risk> genericRepository)
     : base(genericRepository)
 {
 }