예제 #1
0
 public CrmController(ICrmService crmService,
                      ICrmTypeService crmTypeService,
                      ICrmStatusService crmStatusService,
                      ICrmPriorityService crmPriorityService,
                      ICustomerSourceService customerSourceService,
                      IProductGroupService productGroupService,
                      ICustomerGroupService customerGroupService,
                      ICustomerVipService customerVipService,
                      IProvinceService provinceService,
                      IUserService userService,
                      IMapper mapper,
                      ILogger <CrmController> logger) : base(logger)
 {
     _crmService            = crmService;
     _crmTypeService        = crmTypeService;
     _crmStatusService      = crmStatusService;
     _crmPriorityService    = crmPriorityService;
     _customerSourceService = customerSourceService;
     _productGroupService   = productGroupService;
     _customerGroupService  = customerGroupService;
     _customerVipService    = customerVipService;
     _provinceService       = provinceService;
     _userService           = userService;
     _mapper = mapper;
 }
 public CustomerSourceController(ICustomerSourceService customerSourceService,
                                 IUserService userService) : base(userService)
 {
     _customerSourceService = customerSourceService;
 }