Пример #1
0
 public CallLogController(
     ICallCategoryService CallCategoryService,
     ICallStatusService CallStatusService,
     ICallTypeService CallTypeService,
     ICustomerService CustomerService,
     ICallEmotionService CallEmotionService,
     ICallLogService CallLogService,
     IEntityReferenceService EntityReferenceService,
     IAppUserService AppUserService,
     ICustomerLeadService CustomerLeadService,
     IContactService ContactService,
     ICompanyService CompanyService,
     IOrganizationService OrganizationService,
     IOpportunityService OpportunityService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.CallCategoryService    = CallCategoryService;
     this.CallStatusService      = CallStatusService;
     this.CallTypeService        = CallTypeService;
     this.CustomerService        = CustomerService;
     this.CallEmotionService     = CallEmotionService;
     this.CallLogService         = CallLogService;
     this.EntityReferenceService = EntityReferenceService;
     this.AppUserService         = AppUserService;
     this.CustomerLeadService    = CustomerLeadService;
     this.ContactService         = ContactService;
     this.CompanyService         = CompanyService;
     this.OrganizationService    = OrganizationService;
     this.OpportunityService     = OpportunityService;
     this.CurrentContext         = CurrentContext;
 }
Пример #2
0
 public CustomerLeadController(ICustomerLeadService customerLeadService,
                               ILocalizationService localizationService, ICustomerActivityService customerActivityService,
                               IPermissionService permissionService)
 {
     this._customerLeadService = customerLeadService;
     this._permissionService   = permissionService;
 }
Пример #3
0
 public CustomerLeadReportController(
     IOrganizationService OrganizationService,
     ICustomerLeadSourceService CustomerLeadSourceService,
     ICustomerLeadStatusService CustomerLeadStatusService,
     ICustomerLeadService CustomerLeadService,
     IAppUserService AppUserService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.OrganizationService       = OrganizationService;
     this.CustomerLeadSourceService = CustomerLeadSourceService;
     this.CustomerLeadStatusService = CustomerLeadStatusService;
     this.CustomerLeadService       = CustomerLeadService;
     this.AppUserService            = AppUserService;
     this.CurrentContext            = CurrentContext;
 }
Пример #4
0
 public NopService()
 {
     _categoryService     = EngineContext.Current.Resolve <ICategoryService>();
     _customerLeadService = EngineContext.Current.Resolve <ICustomerLeadService>();
 }