Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RoleRepositoryV3"/> class.
        /// </summary>
        /// <param name="crmService">The CRM service.</param>
        /// <param name="marketingListToRoleConverter">The marketing list to role converter.</param>
        /// <param name="contactToUserConverter">The contact to user converter.</param>
        /// <param name="userRepository">The user repository.</param>
        /// <param name="cacheService">The cache service.</param>
        public RoleRepositoryV3(ICrmServiceV3 crmService, IMarketingListToRoleConverterV3 marketingListToRoleConverter, IContactToUserConverterV3 contactToUserConverter, UserRepositoryBase userRepository, ICacheService cacheService)
            : base(userRepository, cacheService)
        {
            Assert.ArgumentNotNull(crmService, "crmService");
            Assert.ArgumentNotNull(marketingListToRoleConverter, "marketingListToRoleConverter");

            this.CrmService = crmService;
            this.MarketingListToRoleConverter = marketingListToRoleConverter;
            this.ContactToUserConverter       = contactToUserConverter;
        }
Exemple #2
0
 public RoleRepositoryV3(ICrmServiceV3 crmService, IMarketingListToRoleConverterV3 marketingListToRoleConverter, IContactToUserConverterV3 contactToUserConverter, UserRepositoryBase userRepository, ICacheService cacheService)  : base(crmService, marketingListToRoleConverter, contactToUserConverter, userRepository, cacheService)
 {
 }