public CRMStatusProccessJob() { crmService = new CRMService(); crmCustomerService = new CRMCustomerService(); statusService = new CRMStatusService(); shipmentServices = new ShipmentServicesImpl(); usersServices = new UsersServicesImpl(); }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IConfiguration configuration, ICRMService crmService, CrmServiceContext crmServiceContext) { _logger = logger; _configuration = configuration; _crmService = crmService; _crmServiceContext = crmServiceContext; }
/// <summary> /// PartnerEmployee Controller /// </summary> public PartnerEmployeeController(IChoiceRepository choiceReposiroty, IMapper mapper, ICRMService crmService, IAzureAdService azureAdService, IUserManagementRepository userRepository, IAppInsightLogger logger) { _choiceRepoistory = choiceReposiroty; _crmService = crmService; _mapper = mapper; _azureAdService = azureAdService; _userRepository = userRepository; _logger = logger; }
protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); customerServices = new CustomerServices(); carrierService = new CarrierService(); areaService = new AreaService(); agentService = new AgentService(); countryService = new CountryService(); unitService = new UnitService(); province = new ProvinceService(); shipmentServices = new ShipmentServicesImpl(); crmService = new CRMService(); ViewData["CountryList"] = new SelectList(Countries, "Id", "CountryName"); sessageStaus = string.Empty; }
public HomeController(ICRMService service) { this.service = service; }
/// <summary> /// 根据数据规则获取项目信息id集合 /// </summary> /// <param name="ctx"></param> /// <param name="personId"></param> /// <returns></returns> public static List <long> getProIds(Context ctx, long personId) { ICRMService service = CRMFactory.GetService <ICRMService>(ctx); return(service.getProjectIds(ctx, personId)); }
// GET: Home public HomeController(ICRMService crsServices) { this.crsService = crsServices; }
/// <summary> /// 构建移动端撞单分析单据对象 /// </summary> /// <param name="ctx"></param> /// <param name="FormID"></param> /// <param name="fillBillPropertys"></param> /// <param name="BillTypeId"></param> /// <returns></returns> public static IBillModel installBumpBillData(Context ctx, string FormID, Action <IDynamicFormViewService> fillBillPropertys) { ICRMService service = CRMFactory.GetService <ICRMService>(ctx); return(service.installBillPackage(ctx, FormID, fillBillPropertys, "")); }
public CityTypeController(ICRMService <CityTypeEntity> cityTypeService) { this.cityTypeService = cityTypeService; }
public ChannelTypeController(ICRMService <ChannelTypeEntity> channelTypeService) { this.channelTypeService = channelTypeService; }
public void TestInitialize() { IDALContext dal = new FakeDALContext(); service = new CRMService(dal); }