public LeadNotificationService( INotify <GearRole> notify, ILeadContext <Lead> context) { _notify = notify; _context = context; }
public CrmReportService( IUserManager <GearUser> userManager, ITaskManagerContext taskManagerContext, ILeadContext <Lead> leadContext, IPaymentContext paymentContext) { //_context = context; _userManager = userManager; _taskManagerContext = taskManagerContext; _leadContext = leadContext; _paymentContext = paymentContext; }
/// <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; }
public AgreementService(ILeadContext <Lead> context, ICrmContractsService contractsService, ICrmContactService contactService, IMapper mapper, IUserManager <GearUser> userManager, INotify <GearRole> notify) { _context = context; _contractsService = contractsService; _contactService = contactService; _mapper = mapper; _userManager = userManager; _notify = notify; }
/// <summary> /// Include lead dependencies /// </summary> /// <param name="context"></param> /// <returns></returns> internal static IQueryable <Lead> BuildLeadsQuery(this ILeadContext <Lead> context) { return(context.Leads .Include(x => x.PipeLine) .Include(x => x.Stage) .Include(x => x.LeadState) .Include(x => x.Organization) .Include(x => x.Team) .ThenInclude(x => x.TeamMembers) .ThenInclude(x => x.TeamRole) .Include(x => x.Currency) .Include(i => i.Contact) .Include(i => i.TechnologyType) .Include(i => i.Source) .Include(i => i.ProductType) .Include(i => i.SolutionType) .Include(i => i.ServiceType)); }
public CrmDashboardService(ILeadContext <Lead> leadContext, IPipeLineContext pipeLineContext) { _leadContext = leadContext; _pipeLineContext = pipeLineContext; }
public ProductService(ILeadContext <Lead> context, IMapper mapper) { _context = context; _mapper = mapper; }