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); }
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); }
public DocumentTemplateController(DocumentTemplateService documentTemplateService) { _documentTemplateService = documentTemplateService; }