/// <summary> /// Constructor /// </summary> /// <param name="context"></param> /// <param name="workFlowExecutorService"></param> /// <param name="crmPipeLineService"></param> /// <param name="teamService"></param> /// <param name="mapper"></param> /// <param name="notify"></param> public CrmLeadService(ILeadContext <Lead> context, IWorkFlowExecutorService workFlowExecutorService, ICrmPipeLineService crmPipeLineService, ICrmTeamService teamService, IMapper mapper, INotify <GearRole> notify) { _context = context; _workFlowExecutorService = workFlowExecutorService; _crmPipeLineService = crmPipeLineService; _teamService = teamService; _mapper = mapper; _notify = notify; }
/// <summary> /// Constructor /// </summary> /// <param name="service"></param> /// <param name="leadService"></param> public PipeLineController(ICrmPipeLineService service, ILeadService <Lead> leadService) { _service = service; _leadService = leadService; }