public CommonEntityStageManager(UserConnection userConnection, IGetRepository <CommonStageData> entityStageRepository, ICommonEntityInStageRepository <EntityInHistoricalStage> entityInStageRepository, StageHistorySetting stageHistorySetting) : base(userConnection, entityStageRepository, entityInStageRepository, stageHistorySetting) { }
public CacheGetRepositoryProxy(UserConnection userConnection, IGetRepository <TData> repository, string schemaName) { userConnection.CheckArgumentNull(nameof(userConnection)); repository.CheckArgumentNull(nameof(repository)); schemaName.CheckArgumentNullOrWhiteSpace(nameof(schemaName)); UserConnection = userConnection; Repository = repository; SchemaName = schemaName; }
public ProductController(IGetRepository <Category> categoryRepostiroy, IRepository <Product> genericProductRepostiroy, IProductRepository productRepository, ICategoryRepository categoryRepository) { _genericCategoryRepostiroy = categoryRepostiroy; _genericProductRepostiroy = genericProductRepostiroy; _productRepository = productRepository; _categoryRepository = categoryRepository; }
public TravelReviewService() { IRepository <TravelReview> repository = RepositoryFactory.GetRepository <TravelReview>(); this._saveRepository = repository; this._getRepository = repository; this._transportService = new TransportService(); this._travelFeelingService = new TravelFeelingService(); }
public BagViewModelToCreateBagTranslator(ITranslator <ViewModels.RefValue, Domain.RefValue> refValueTranslator, ISearchRepository <Domain.Tea.Bag> bagRepository, IGetRepository <IApplicationUser> userRepository, IClock clock) { RefValueTranslator = refValueTranslator ?? throw new System.ArgumentNullException(nameof(refValueTranslator)); BagRepository = bagRepository ?? throw new System.ArgumentNullException(nameof(bagRepository)); UserRepository = userRepository ?? throw new System.ArgumentNullException(nameof(userRepository)); Clock = clock ?? throw new System.ArgumentNullException(nameof(clock)); }
public UpdateCommandHandler(IUpdateRepository <TEntity> updateRepository, IGetRepository <TEntity> getRepository, ILinqSearchRepository <IActivity> activityRepository, IActivityAuthorizer authorizer, ITranslator <TViewModel, TEntity> translator) { UpdateRepository = updateRepository ?? throw new System.ArgumentNullException(nameof(updateRepository)); GetRepository = getRepository ?? throw new System.ArgumentNullException(nameof(getRepository)); ActivityRepository = activityRepository ?? throw new System.ArgumentNullException(nameof(activityRepository)); Authorizer = authorizer ?? throw new System.ArgumentNullException(nameof(authorizer)); Translator = translator ?? throw new System.ArgumentNullException(nameof(translator)); }
public static IGetRepository <T> BuildAndGetGetRepository <T>(Tech tech, IConfiguration configuration) { IGetRepository <T> getRepository = null; switch (tech) { case Tech.Mongodb: getRepository = new MongodbGetRepository <T>(GetMongoDatabase(configuration)); break; } return(getRepository); }
public DashboardsController(IGetRepository <IApplicationUser> applicationUserRepository, IAsyncQueryHandler <BagsCountByBagTypesQuery> bagTypesCountQuery, IAsyncQueryHandler <BagsCountByBrandsQuery> brandsCountQuery, IAsyncQueryHandler <BagsCountByInsertDateQuery> insertDateCountQuery, IAsyncQueryHandler <TotalBagsCountByInsertDateQuery> totalInsertDateCountQuery, ITranslator <IQueryResult, IActionResult> queryTranslator, ITranslator <ICommandResult, IActionResult> commandTranslator) { ApplicationUserRepository = applicationUserRepository ?? throw new System.ArgumentNullException(nameof(applicationUserRepository)); BagTypesCountQuery = bagTypesCountQuery ?? throw new System.ArgumentNullException(nameof(bagTypesCountQuery)); BrandsCountQuery = brandsCountQuery ?? throw new System.ArgumentNullException(nameof(brandsCountQuery)); InsertDateCountQuery = insertDateCountQuery ?? throw new System.ArgumentNullException(nameof(insertDateCountQuery)); TotalInsertDateCountQuery = totalInsertDateCountQuery ?? throw new System.ArgumentNullException(nameof(totalInsertDateCountQuery)); QueryTranslator = queryTranslator ?? throw new System.ArgumentNullException(nameof(queryTranslator)); CommandTranslator = commandTranslator ?? throw new System.ArgumentNullException(nameof(commandTranslator)); }
protected GetController(IGetRepository <TEntity> entityRepository) : base(entityRepository) { _entityRepository = entityRepository; }
public TravelFeelingService() { this._reasonService = new TravelFeelingReasonService(); this._repository = RepositoryFactory.GetRepository <TravelFeeling>(); }
public CotizacionLogic(IGetRepository <CotizacionRequestDTO, CotizacionResponseDTO> repository) { _cotizacionRequest = repository; }
public BagTypeToBagTypeTranslator(IGetRepository <IApplicationUser> repository) { Repository = repository; }
public ActivityAuthorizer(IGetRepository <IApplicationUser> repository) { Repository = repository ?? throw new System.ArgumentNullException(nameof(repository)); }
public QueryHandler(IGetRepository <Customer> repository) : base(repository) { }
public BagsCountByInsertDateQueryHandler(IGetRepository <Dashboard <IEnumerable <CountBy <NodaTime.LocalDate> > > > repository) { Repository = repository; }
public TransportService() { this._repository = RepositoryFactory.GetRepository <Transport>(); this._branchService = new TransportBranchService(); }
public SearchRefValuesQueryHandler(ISearchRepository <T> repository, IGetRepository <IApplicationUser> applicationUserRepository) { Repository = repository ?? throw new System.ArgumentNullException(nameof(repository)); ApplicationUserRepository = applicationUserRepository ?? throw new System.ArgumentNullException(nameof(applicationUserRepository)); }
public TransportBranchService() { this._repository = RepositoryFactory.GetRepository <TransportBranch>(); }
public BoostUserService(IConfiguration configuration) { this._getRepository = RepositoryFactory.BuildAndGetGetRepository <BoostUser>(RepositoryFactory.Tech.Mongodb, configuration); }
public RefValueToRefValueTranslator(IGetRepository <IApplicationUser> repository) { Repository = repository ?? throw new System.ArgumentNullException(nameof(repository)); }
public CotizacionController(IGetRepository <CotizacionRequestDTO, CotizacionResponseDTO> repository) { cotizacionLogic = new CotizacionLogic(repository); }
public BagsCountByBagTypesQueryHandler(IGetRepository <Dashboard <IEnumerable <CountBy <RefValue> > > > repository) { Repository = repository; }
public BoostRequestService(IConfiguration configuration) { this._getRepository = RepositoryFactory.BuildAndGetGetRepository <BoostRequest>(RepositoryFactory.Tech.Mongodb, configuration); this._saveRepository = RepositoryFactory.BuildAndGetSaveRepository <BoostRequest>(RepositoryFactory.Tech.Mongodb, configuration); }
public TransportTypeService() { this._repository = RepositoryFactory.GetRepository <TransportType>(); }
protected GetManager(IUnitOfWork unitOfWork, IGetRepository <TEntity, TKey> repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public CountryToCountryViewModelTranslator(IGetRepository <IApplicationUser> repository) { Repository = repository ?? throw new System.ArgumentNullException(nameof(repository)); }
public GetQueryHandler(IGetRepository <TEntity> repository, IAsyncTranslator <TEntity, TViewModel> translator) { Repository = repository ?? throw new System.ArgumentNullException(nameof(repository)); Translator = translator ?? throw new System.ArgumentNullException(nameof(translator)); }
public GetQuizService(IGetRepository <Quiz> repository) { _repository = repository; }
protected GetManager(IUnitOfWork unitOfWork, IGetRepository <TEntity, TKey> repository, IMapper mapper) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public TravelFeelingReasonService() { this._reasonRepository = RepositoryFactory.GetRepository <TravelFeelingReason>(); this._relationsRepository = RepositoryFactory.GetRepository <TravelFeelingReasonsPerFeelingAndTransportType>(); }