public StockService(ICrmService crmService) { _crmService = crmService; dicHeadKey = "Prefer"; dicHead = new Dictionary <string, IEnumerable <string> >(); dicHead.Add(dicHeadKey, new List <string>() { "odata.include-annotations=\"*\"" }); defaultpageCount = 10; _ServiceproxyService = new ServiceproxyService(_crmService); }
public UC_ServiceproxyController() { _serviceproxyService = new ServiceproxyFactory().Create().Result; }