예제 #1
0
 public CustomerFollowUpManager(ICustomerFollowUpStore icustomerFollowUpStore, ICustomerInfoStore icustomerInfoStore, IMapper mapper, PermissionExpansionManager permissionExpansionManager)
 {
     _permissionExpansionManager = permissionExpansionManager;
     _icustomerInfoStore         = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerFollowUpStore     = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
예제 #2
0
 /// <summary>
 /// 报备
 /// </summary>
 /// <param name="icustomerReportStore"></param>
 /// <param name="mapper"></param>
 public CustomerReportManager(ICustomerReportStore icustomerReportStore, ICustomerFollowUpStore icustomerFollowUpStore, ICustomerInfoStore customerInfoStore, ICustomerDemandStore customerDemandStore, IMapper mapper)
 {
     _icustomerFollowUpStore = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _customerReportStore    = icustomerReportStore ?? throw new ArgumentNullException(nameof(icustomerReportStore));
     _customerinfoStore      = customerInfoStore ?? throw new ArgumentNullException(nameof(customerInfoStore));
     _icustomerDemandStore   = customerDemandStore ?? throw new ArgumentNullException(nameof(customerDemandStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
예제 #3
0
 /// <summary>
 /// 构造
 /// </summary>
 /// <param name="icustomerInfoStore"></param>
 /// <param name="icustomerDemandStore"></param>
 /// <param name="icustomerReportStore"></param>
 /// <param name="iaboutLookStore"></param>
 /// <param name="ibeltLookStore"></param>
 /// <param name="icustomerFollowUpStore"></param>
 /// <param name="icustomerPoolStore"></param>
 /// <param name="icustomerPoolDefineStore"></param>
 /// <param name="mapper"></param>
 public CustomerHandOverManager(ICustomerInfoStore icustomerInfoStore,
                                ICustomerDemandStore icustomerDemandStore,
                                ICustomerReportStore icustomerReportStore,
                                IAboutLookStore iaboutLookStore,
                                IBeltLookStore ibeltLookStore,
                                ICustomerFollowUpStore icustomerFollowUpStore,
                                ICustomerPoolStore icustomerPoolStore,
                                ICustomerPoolDefineStore icustomerPoolDefineStore,
                                IMapper mapper)
 {
     _icustomerInfoStore       = icustomerInfoStore ?? throw new ArgumentNullException(nameof(icustomerInfoStore));
     _icustomerDemandStore     = icustomerDemandStore ?? throw new ArgumentNullException(nameof(icustomerDemandStore));
     _icustomerReportStore     = icustomerReportStore ?? throw new ArgumentNullException(nameof(icustomerReportStore));
     _iaboutLookStore          = iaboutLookStore ?? throw new ArgumentNullException(nameof(iaboutLookStore));
     _ibeltLookStore           = ibeltLookStore ?? throw new ArgumentNullException(nameof(ibeltLookStore));
     _icustomerFollowUpStore   = icustomerFollowUpStore ?? throw new ArgumentNullException(nameof(icustomerFollowUpStore));
     _icustomerPoolStore       = icustomerPoolStore ?? throw new ArgumentNullException(nameof(icustomerPoolStore));
     _icustomerPoolDefineStore = icustomerPoolDefineStore ?? throw new ArgumentNullException(nameof(icustomerPoolDefineStore));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }