コード例 #1
0
        public void TestMethod1()
        {
            var con = CrmConnection.Parse(@"Url=http://win-n7ssp4uv9uj:5555/StandardOrg; authtype=AD");

            var service = new OrganizationService(con);

            var myservice = new DocumentTemplateService(service, "", "", "");

            var documents = myservice.QueryDocuments();

            Assert.IsNotNull(documents);
        }
コード例 #2
0
        public AccountController(CustomerService customerService, CustomerAccountService accountService, StockService stockService, ContractService contractService, DocumentTemplateService documentTemplateService)

        {
            _customerService = customerService;
            _accountService  = accountService;
            _stockService    = stockService;
            //_itemChargeService = itemChargeService;
            _contractService         = contractService;
            _documentTemplateService = documentTemplateService;
            InitialisePaymentPeriodViewBag(contractService);
            InitialiseContractTypeViewBag(contractService);
            InitialiseContractChangeableProductLifeCycleViewBag(stockService);
        }
コード例 #3
0
 public DocumentTemplateController(DocumentTemplateService documentTemplateService)
 {
     _documentTemplateService = documentTemplateService;
 }