Exemple #1
0
 public CRMStatusProccessJob()
 {
     crmService         = new CRMService();
     crmCustomerService = new CRMCustomerService();
     statusService      = new CRMStatusService();
     shipmentServices   = new ShipmentServicesImpl();
     usersServices      = new UsersServicesImpl();
 }
Exemple #2
0
 public WeatherForecastController(ILogger <WeatherForecastController> logger,
                                  IConfiguration configuration, ICRMService crmService, CrmServiceContext crmServiceContext)
 {
     _logger            = logger;
     _configuration     = configuration;
     _crmService        = crmService;
     _crmServiceContext = crmServiceContext;
 }
Exemple #3
0
 /// <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;
 }
Exemple #4
0
 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;
 }
Exemple #5
0
 public HomeController(ICRMService service)
 {
     this.service = service;
 }
Exemple #6
0
        /// <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));
        }
Exemple #7
0
 // 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, ""));
        }
Exemple #9
0
 public CityTypeController(ICRMService <CityTypeEntity> cityTypeService)
 {
     this.cityTypeService = cityTypeService;
 }
 public ChannelTypeController(ICRMService <ChannelTypeEntity> channelTypeService)
 {
     this.channelTypeService = channelTypeService;
 }
Exemple #11
0
 public void TestInitialize()
 {
     IDALContext dal = new FakeDALContext();
     service = new CRMService(dal);
 }