示例#1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public ActivityFormAppService(IRepository <ActivityForm, Guid> activityformRepository
                               , IActivityFormManager activityformManager
                               , IWeChatUserManager wechatuserManager
                               , IRetailerAppService retailerAppService
                               , IRepository <ActivityDeliveryInfo, Guid> activitydeliveryinfoRepository
                               , IRepository <ActivityFormLog, Guid> activityFormLogRepository
                               , IRepository <Activity, Guid> activityRepository
                               , IRepository <User, long> userRepository
                               , IRepository <ActivityBanquet, Guid> activityBanquetRepository
                               , IRepository <Retailer, Guid> retailerRepository
                               , IRepository <WeChatUser, Guid> wechatuserRepository
                               , IHostingEnvironment hostingEnvironment
                               )
 {
     _activityformRepository         = activityformRepository;
     _activityformManager            = activityformManager;
     _wechatuserManager              = wechatuserManager;
     _retailerAppService             = retailerAppService;
     _activitydeliveryinfoRepository = activitydeliveryinfoRepository;
     _activityFormLogRepository      = activityFormLogRepository;
     _activityRepository             = activityRepository;
     _userRepository            = userRepository;
     _activityBanquetRepository = activityBanquetRepository;
     _retailerRepository        = retailerRepository;
     _wechatuserRepository      = wechatuserRepository;
     _hostingEnvironment        = hostingEnvironment;
 }
示例#2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public ProductAppService(IRepository <Product, Guid> productRepository
                          , IProductManager productManager, IHostingEnvironment hostingEnvironment,
                          IRetailerAppService retailerService, IRepository <WeChatUser, Guid> wechatuserRepository,
                          IRepository <EPCo, Guid> epcoRepository, IRepository <EPCoLine, Guid> epcolineRepository,
                          IRepository <GACustPoint, Guid> gacustpointRepository, IRepository <GAGrade, int> gagradeRepository,
                          ILevelLogAppService levelLogAppService, IRepository <Retailer, Guid> retailerRepository
                          )
 {
     _productRepository     = productRepository;
     _productManager        = productManager;
     _hostingEnvironment    = hostingEnvironment;
     _retailerService       = retailerService;
     _wechatuserRepository  = wechatuserRepository;
     _epcoRepository        = epcoRepository;
     _epcolineRepository    = epcolineRepository;
     _gacustpointRepository = gacustpointRepository;
     _gagradeRepository     = gagradeRepository;
     _levelLogAppService    = levelLogAppService;
     _retailerRepository    = retailerRepository;
 }