Пример #1
0
        private CustomerLookupListsCacheObject GetCustomerAndLookups()
        {
            UcbServiceClient sc           = new UcbServiceClient();
            CustomerVMDC     returnObject = sc.GetCustomer(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            CustomerLookupListsCacheObject CachedLists = new CustomerLookupListsCacheObject();

            CachedLists.RelationshipToCustomerList = Mapper.Map <IEnumerable <RelationshipToCustomerDC>, List <RelationshipToCustomerModel> >(returnObject.RelationshipToCustomerList);
            return(CachedLists);
        }