Ejemplo n.º 1
0
 public RepositoryWrapper(RepositoryContext repositoryContext,
                          ISortHelper <Owner> ownerSortHelper,
                          ISortHelper <Account> accountSortHelper,
                          ISortHelper <Product> productSortHelper,
                          ISortHelper <Voting> votingSortHelper,
                          ISortHelper <Category> categorySortHelper,
                          IDataShaper <Owner> ownerDataShaper,
                          IDataShaper <Account> accountDataShaper,
                          IDataShaper <Product> productDataShaper,
                          IDataShaper <Voting> votingDataShaper,
                          IDataShaper <Category> categoryDataShaper
                          )
 {
     _repoContext        = repositoryContext;
     _ownerSortHelper    = ownerSortHelper;
     _accountSortHelper  = accountSortHelper;
     _productSortHelper  = productSortHelper;
     _votingSortHelper   = votingSortHelper;
     _categorySortHelper = categorySortHelper;
     _ownerDataShaper    = ownerDataShaper;
     _accountDataShaper  = accountDataShaper;
     _productDataShaper  = productDataShaper;
     _votingDataShaper   = votingDataShaper;
     _categoryDataShaper = categoryDataShaper;
 }
Ejemplo n.º 2
0
 public AccountRepository(RepositoryContext repositoryContext,
                          ISortHelper <Account> sortHelper,
                          IDataShaper <Account> accountDataShaper) : base(repositoryContext)
 {
     _sortHelper        = sortHelper;
     _accountDataShaper = accountDataShaper;
 }
Ejemplo n.º 3
0
 public OwnerRepository(RepositoryContext repositoryContext,
                        ISortHelper <Owner> sortHelper,
                        IDataShaper <Owner> dataShaper) : base(repositoryContext)
 {
     _sortHelper = sortHelper;
     _dataShaper = dataShaper;
 }
 public RepositoryWrapper(RepositoryContext repositoryContext, ISortHelper <Owner> ownerSortHelper,
                          ISortHelper <Account> accountSortHelper)
 {
     _repoContext       = repositoryContext;
     _ownerSortHelper   = ownerSortHelper;
     _accountSortHelper = accountSortHelper;
 }
Ejemplo n.º 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StoriesRepository" /> class.
        /// </summary>
        /// <param name="repositoryContext">The repository context.</param>
        /// <param name="mapper">The mapper.</param>
        /// <param name="sortHelper">The sort helper.</param>
        /// <param name="dataShaper">The data shaper.</param>

        public ServiceRepository(VendorContext repositoryContext, IMapper mapper, ISortHelper <ServiceResponse> sortHelper,
                                 IDataShaper <ServiceResponse> dataShaper) : base(repositoryContext)
        {
            this.mapper     = mapper;
            this.sortHelper = sortHelper;
            this.dataShaper = dataShaper;
        }
Ejemplo n.º 6
0
 public ProductRepository(RepositoryContext repositoryContext,
                          ISortHelper <Product> sortHelper,
                          IDataShaper <Product> dataShaper) : base(repositoryContext)
 {
     _sortHelper = sortHelper;
     _dataShaper = dataShaper;
 }
 public RepositoryWrapper(RepositoryContext repositoryContext,
                          ISortHelper <Company> companySortHelper,
                          ISortHelper <Employee> employeeSortHelper)
 {
     _repoContext        = repositoryContext;
     _companySortHelper  = companySortHelper;
     _employeeSortHelper = employeeSortHelper;
 }
Ejemplo n.º 8
0
 public UnitOfWork(VegaDbContext context, ISortHelper <Vehicle> vehicleSortHelper)
 {
     _context           = context;
     _vehicleSortHelper = vehicleSortHelper;
     Features           = new FeatureRepository(_context);
     Makes    = new MakeRepository(_context);
     Vehicles = new VehicleRepository(_context, vehicleSortHelper);
     Photos   = new PhotoRepository(_context);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentsRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public CommentsRepository(
     BlogContext repositoryContext,
     ISortHelper <Comments> sortHelper,
     IDataShaper <Comments> dataShaper)
     : base(repositoryContext)
 {
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LeadDataCollectionRepository"/> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 public LeadDataCollectionRepository(
     LeadContext repositoryContext,
     IMapper mapper,
     ISortHelper <LeadDataCollectionResponse> sortHelper,
     IDataShaper <LeadDataCollectionResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MultiDetailRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public MultiDetailRepository(
     LeadContext repositoryContext,
     IMapper mapper,
     ISortHelper <MultiDetailResponse> sortHelper,
     IDataShaper <MultiDetailResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VendorQuestionAsnwerRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public VendorQuestionAsnwerRepository(
     VendorContext repositoryContext,
     IMapper mapper,
     ISortHelper <VendorQuestionAnswerResponse> sortHelper,
     IDataShaper <VendorQuestionAnswerResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StoriesRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public StoriesRepository(
     BlogContext repositoryContext,
     IMapper mapper,
     ISortHelper <StoryResponse> sortHelper,
     IDataShaper <StoryResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoriesRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public SubscriptionOffersRepository(
     VendorContext repositoryContext,
     IMapper mapper,
     ISortHelper <SubscriptionOfferResponse> sortHelper,
     IDataShaper <SubscriptionOfferResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WalletStatusRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public WalletStatusRepository(
     WalletContext repositoryContext,
     IMapper mapper,
     ISortHelper <WalletStatusResponse> sortHelper,
     IDataShaper <WalletStatusResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CategoryDetailsRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public CategoryDetailsRepository(
     VendorContext repositoryContext,
     IMapper mapper,
     ISortHelper <CategoryDetailsResponse> sortHelper,
     IDataShaper <CategoryDetailsResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserProfileRepository" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="sortHelper">The sort helper.</param>
 /// <param name="dataShaper">The data shaper.</param>
 public UserProfileRepository(
     IdentityContext repositoryContext,
     IMapper mapper,
     ISortHelper <ProfileResponse> sortHelper,
     IDataShaper <ProfileResponse> dataShaper)
     : base(repositoryContext)
 {
     this.mapper     = mapper;
     this.sortHelper = sortHelper;
     this.dataShaper = dataShaper;
 }
Ejemplo n.º 18
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReviewsRepository" /> class.
        /// </summary>
        /// <param name="repositoryContext">The repository context.</param>
        /// <param name="mapper">The mapper.</param>
        /// <param name="sortHelper">The sort helper.</param>
        /// <param name="dataShaper">The data shaper.</param>
        public AverageRatingRepository(
            VendorContext repositoryContext,

            IMapper mapper,
            ISortHelper <ReviewsResponse> sortHelper,
            IDataShaper <ReviewsResponse> dataShaper)
            : base(repositoryContext)
        {
            this.mapper     = mapper;
            this.sortHelper = sortHelper;
            this.dataShaper = dataShaper;
        }
 public RepositoryWrapper(RepositoryContext repositoryContext,
                          ISortHelper <Owner> ownerSortHelper,
                          ISortHelper <Report> reportSortHelper,
                          IDataShaper <Owner> ownerDataShaper,
                          IDataShaper <Report> reportDataShaper)
 {
     _repoContext      = repositoryContext;
     _ownerSortHelper  = ownerSortHelper;
     _reportSortHelper = reportSortHelper;
     _ownerDataShaper  = ownerDataShaper;
     _reportDataShaper = reportDataShaper;
 }
Ejemplo n.º 20
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ReviewsRepository" /> class.
        /// </summary>
        /// <param name="repositoryContext">The repository context.</param>
        /// <param name="mapper">The mapper.</param>
        /// <param name="sortHelper">The sort helper.</param>
        /// <param name="dataShaper">The data shaper.</param>
        public ReplyCountRepository(
            VendorContext repositoryContext,

            IMapper mapper,
            ISortHelper <CommentReplyResponse> sortHelper,
            IDataShaper <CommentReplyResponse> dataShaper)
            : base(repositoryContext)
        {
            this.mapper     = mapper;
            this.sortHelper = sortHelper;
            this.dataShaper = dataShaper;
        }
Ejemplo n.º 21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RepositoryWrapper" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="storiesSortHelper">The stories sort helper.</param>
 /// <param name="commentsSortHelper">The comments sort helper.</param>
 /// <param name="storiesDataShaper">The stories data shaper.</param>
 /// <param name="commentsDataShaper">The comments data shaper.</param>
 public RepositoryWrapper(
     BlogContext repositoryContext,
     IMapper mapper,
     ISortHelper <StoryResponse> storiesSortHelper,
     ISortHelper <Comments> commentsSortHelper,
     IDataShaper <StoryResponse> storiesDataShaper,
     IDataShaper <Comments> commentsDataShaper)
 {
     this.repositoryContext  = repositoryContext;
     this.mapper             = mapper;
     this.storiesSortHelper  = storiesSortHelper;
     this.commentsSortHelper = commentsSortHelper;
     this.storiesDataShaper  = storiesDataShaper;
     this.commentsDataShaper = commentsDataShaper;
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RepositoryWrapper" /> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="multicodeSortHelper">The multicode sort helper.</param>
 /// <param name="multicodeDataShaper">The multicode data shaper.</param>
 /// <param name="multidetailSortHelper">The multidetail sort helper.</param>
 /// <param name="multidetailDataShaper">The mutlidetail data shaper.</param>
 /// <param name="eventsSortHelper">The event sort helper.</param>
 /// <param name="eventsDataShaper">The event data shaper.</param>
 /// <param name="eventgallerySortHelper">The event sort helper.</param>
 /// <param name="eventgalleryDataShaper">The event data shaper.</param>
 public RepositoryWrapper(
     WalletContext repositoryContext,
     IMapper mapper,
     ISortHelper <MultiCodeResponse> multicodeSortHelper,
     IDataShaper <MultiCodeResponse> multicodeDataShaper,
     ISortHelper <MultiDetailResponse> multidetailSortHelper,
     IDataShaper <MultiDetailResponse> multidetailDataShaper,
     ISortHelper <WalletResponse> walletSortHelper,
     IDataShaper <WalletResponse> walletDataShaper,
     ISortHelper <WalletRuleResponse> walletRuleSortHelper,
     IDataShaper <WalletRuleResponse> walletRuleDataShaper,
     ISortHelper <WalletStatusResponse> walletStatusSortHelper,
     IDataShaper <WalletStatusResponse> walletStatusDataShaper,
     ISortHelper <WalletAdjustmentResponse> walletAdjustmentSortHelper,
     IDataShaper <WalletAdjustmentResponse> walletAdjustmentDataShaper,
     ISortHelper <WalletDeductionResponse> walletDeductionSortHelper,
     IDataShaper <WalletDeductionResponse> walletDeductionDataShaper,
     ISortHelper <PaymentBookResponse> paymentBookSortHelper,
     IDataShaper <PaymentBookResponse> paymentBookDataShaper,
     ISortHelper <RefundResponse> refundSortHelper,
     IDataShaper <RefundResponse> refundDataShaper,
     ISortHelper <TransactionsResponse> transactionsSortHelper,
     IDataShaper <TransactionsResponse> transactionsDataShaper
     )
 {
     this.repositoryContext          = repositoryContext;
     this.mapper                     = mapper;
     this.multicodeSortHelper        = multicodeSortHelper;
     this.multicodeDataShaper        = multicodeDataShaper;
     this.multidetailSortHelper      = multidetailSortHelper;
     this.multidetailDataShaper      = multidetailDataShaper;
     this.walletSortHelper           = walletSortHelper;
     this.walletDataShaper           = walletDataShaper;
     this.walletRuleSortHelper       = walletRuleSortHelper;
     this.walletRuleDataShaper       = walletRuleDataShaper;
     this.walletStatusSortHelper     = walletStatusSortHelper;
     this.walletStatusDataShaper     = walletStatusDataShaper;
     this.walletAdjustmentSortHelper = walletAdjustmentSortHelper;
     this.walletAdjustmentDataShaper = walletAdjustmentDataShaper;
     this.walletDeductionSortHelper  = walletDeductionSortHelper;
     this.walletDeductionDataShaper  = walletDeductionDataShaper;
     this.paymentBookSortHelper      = paymentBookSortHelper;
     this.paymentBookDataShaper      = paymentBookDataShaper;
     this.refundSortHelper           = refundSortHelper;
     this.refundDataShaper           = refundDataShaper;
     this.transactionsSortHelper     = transactionsSortHelper;
     this.transactionsDataShaper     = transactionsDataShaper;
 }
Ejemplo n.º 23
0
        public SortHelperTests()
        {
            // Test contacts
            _contacts = new List <Contact>()
            {
                new Contact()
                {
                    Id = 1, LastName = "THOMSON"
                },
                new Contact()
                {
                    Id = 2, LastName = "BERKIN"
                },
                new Contact()
                {
                    Id = 3, LastName = "URSUL"
                }
            };

            _sortHelper = new SortHelper <Contact>();
        }
Ejemplo n.º 24
0
        public ContactRepositoryTests()
        {
            // Sort helper
            _sortHelper = new SortHelper <Contact>();

            // Test DB context for contacts
            var options = new DbContextOptionsBuilder <RepositoryContext>()
                          .UseInMemoryDatabase(databaseName: "ContactsDatabase")
                          .Options;
            var context = new RepositoryContext(options);

            context.Contacts.Add(new Contact()
            {
                Id = 1, Age = 10, Gender = "male"
            });
            context.Contacts.Add(new Contact()
            {
                Id = 2, Age = 20, Gender = "male"
            });
            context.Contacts.Add(new Contact()
            {
                Id = 3, Age = 30, Gender = "male"
            });
            context.Contacts.Add(new Contact()
            {
                Id = 4, Age = 40, Gender = "female"
            });
            context.Contacts.Add(new Contact()
            {
                Id = 5, Age = 50, Gender = "female"
            });
            context.Contacts.Add(new Contact()
            {
                Id = 6, Age = 60, Gender = "female"
            });
            context.SaveChanges();

            // Repo
            _repo = new ContactRepository(context, _sortHelper);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RepositoryWrapper"/> class.
 /// </summary>
 /// <param name="repositoryContext">The repository context.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="profileDataShaper">The profile data shaper.</param>
 /// <param name="profileSortHelper">The profile sort helper.</param>
 /// <param name="roleDataShaper">The role data shaper.</param>
 /// <param name="roleSortHelper">The role sort helper.</param>
 /// <param name="accountDataShaper">The account data shaper.</param>
 /// <param name="accountSortHelper">The account sort helper.</param>
 /// <param name="multicodeSortHelper">The multicode sort helper.</param>
 /// <param name="multicodeDataShaper">The multicode data shaper.</param>
 /// <param name="multidetailSortHelper">The multidetail sort helper.</param>
 /// <param name="multidetailDataShaper">The multidetail data shaper.</param>
 /// <param name="kycSortHelper">The kyc sort helper.</param>
 /// <param name="kycDataShaper">The kyc data shaper.</param>
 public RepositoryWrapper(
     IdentityContext repositoryContext,
     IMapper mapper,
     IDataShaper <ProfileResponse> profileDataShaper,
     ISortHelper <ProfileResponse> profileSortHelper,
     IDataShaper <RoleResponse> roleDataShaper,
     ISortHelper <RoleResponse> roleSortHelper,
     IDataShaper <ProfileResponse> accountDataShaper,
     ISortHelper <ProfileResponse> accountSortHelper,
     ISortHelper <MultiCodeResponse> multicodeSortHelper,
     IDataShaper <MultiCodeResponse> multicodeDataShaper,
     ISortHelper <MultiDetailResponse> multidetailSortHelper,
     IDataShaper <MultiDetailResponse> multidetailDataShaper,
     ISortHelper <KYCDataResponse> kycSortHelper,
     IDataShaper <KYCDataResponse> kycDataShaper,
     ISortHelper <KYCDetailResponse> kycDetailSortHelper,
     IDataShaper <KYCDetailResponse> kycDetailDataShaper,
     ISortHelper <UserRoleResponse> userRoleSortHelper,
     IDataShaper <UserRoleResponse> userRoleDataShaper)
 {
     this.multicodeSortHelper   = multicodeSortHelper;
     this.multicodeDataShaper   = multicodeDataShaper;
     this.multidetailSortHelper = multidetailSortHelper;
     this.multidetailDataShaper = multidetailDataShaper;
     this.repositoryContext     = repositoryContext;
     this.mapper              = mapper;
     this.profileDataShaper   = profileDataShaper;
     this.profileSortHelper   = profileSortHelper;
     this.roleDataShaper      = roleDataShaper;
     this.roleSortHelper      = roleSortHelper;
     this.userRoleDataShaper  = userRoleDataShaper;
     this.userRoleSortHelper  = userRoleSortHelper;
     this.accountDataShaper   = accountDataShaper;
     this.accountSortHelper   = accountSortHelper;
     this.kycDataShaper       = kycDataShaper;
     this.kycSortHelper       = kycSortHelper;
     this.kycDetailDataShaper = kycDetailDataShaper;
     this.kycDetailSortHelper = kycDetailSortHelper;
 }
Ejemplo n.º 26
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RepositoryWrapper"/> class.
        /// </summary>
        /// <param name="repositoryContext">The repository context.</param>
        /// <param name="mapper">The mapper.</param>
        /// <param name="multicodeSortHelper">The multi code sort helper.</param>
        /// <param name="multicodeDataShaper">The multi code data shaper.</param>
        /// <param name="multidetailSortHelper">The multi detail sort helper.</param>
        /// <param name="multidetailDataShaper">The multi detail data shaper.</param>
        /// <param name="leadDataCollectionSortHelper">The lead Data Collection sort helper.</param>
        /// <param name="leadDataCollectionDataShaper">The lead Data Collection data shaper.</param>
        /// <param name="leadQuoteSortHelper">The lead quote sort helper.</param>
        /// <param name="leadQuoteDataShaper">The lead quote data shaper.</param>
        /// <param name="leadValidationSortHelper">The lead Validation sort helper.</param>
        /// <param name="leadValidationDataShaper">The lead Validation data shaper.</param>
        /// <param name="leadAssignSortHelper">The lead Assign sort helper.</param>
        /// <param name="leadAssignDataShaper">The lead Assign data shaper.</param>

        public RepositoryWrapper(
            LeadContext repositoryContext,
            IMapper mapper,
            ISortHelper <MultiCodeResponse> multicodeSortHelper,
            IDataShaper <MultiCodeResponse> multicodeDataShaper,
            ISortHelper <MultiDetailResponse> multidetailSortHelper,
            IDataShaper <MultiDetailResponse> multidetailDataShaper,
            ISortHelper <LeadDataCollectionResponse> leadDataCollectionSortHelper,
            IDataShaper <LeadDataCollectionResponse> leadDataCollectionDataShaper,
            ISortHelper <LeadQuoteResponse> leadQuoteSortHelper,
            IDataShaper <LeadQuoteResponse> leadQuoteDataShaper,
            ISortHelper <LeadValidationResponse> leadValidationSortHelper,
            IDataShaper <LeadValidationResponse> leadValidationDataShaper,
            ISortHelper <LeadAssignResponse> leadAssignSortHelper,
            IDataShaper <LeadAssignResponse> leadAssignDataShaper,
            ISortHelper <LeadStatusResponse> leadStatusSortHelper,
            IDataShaper <LeadStatusResponse> leadStatusDataShaper
            )
        {
            this.repositoryContext            = repositoryContext;
            this.mapper                       = mapper;
            this.multicodeSortHelper          = multicodeSortHelper;
            this.multicodeDataShaper          = multicodeDataShaper;
            this.multidetailSortHelper        = multidetailSortHelper;
            this.multidetailDataShaper        = multidetailDataShaper;
            this.leadDataCollectionSortHelper = leadDataCollectionSortHelper;
            this.leadDataCollectionDataShaper = leadDataCollectionDataShaper;
            this.leadQuoteSortHelper          = leadQuoteSortHelper;
            this.leadQuoteDataShaper          = leadQuoteDataShaper;
            this.leadValidationSortHelper     = leadValidationSortHelper;
            this.leadValidationDataShaper     = leadValidationDataShaper;
            this.leadAssignSortHelper         = leadAssignSortHelper;
            this.leadAssignDataShaper         = leadAssignDataShaper;
            this.leadStatusSortHelper         = leadStatusSortHelper;
            this.leadStatusDataShaper         = leadStatusDataShaper;
        }
Ejemplo n.º 27
0
 public RepositoryWrapper(RepositoryContext repo, ISortHelper <AppUser> appUserSortHelper)
 {
     _repoContext       = repo;
     _appUserSortHelper = appUserSortHelper;
 }
Ejemplo n.º 28
0
 public RepositoryWrapper(RepositoryContext repositoryContext, ISortHelper <Tag> tagSortHelper, ISortHelper <Product> productSortHelper)
 {
     _repoContext       = repositoryContext;
     _tagSortHelper     = tagSortHelper;
     _productSortHelper = productSortHelper;
 }
Ejemplo n.º 29
0
 public AdvertisementRepository(DaraAdsDbContext context, ISortHelper <Domain.Advertisement> sortHelper) : base(context)
 {
     _sortHelper = sortHelper;
 }
Ejemplo n.º 30
0
 public TagRepository(RepositoryContext repositoryContext, ISortHelper <Tag> sortHelper)
     : base(repositoryContext)
 {
     _sortHelper = sortHelper;
 }