private ApplicationAttributeLookupListsCacheObject GetApplicationAttributeAndLookups() { UcbServiceClient sc = new UcbServiceClient(); ApplicationAttributeVMDC returnObject = sc.GetApplicationAttribute(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); ApplicationAttributeLookupListsCacheObject CachedLists = new ApplicationAttributeLookupListsCacheObject(); CachedLists.ApplicationList = Mapper.Map <IEnumerable <ApplicationDC>, List <ApplicationModel> >(returnObject.ApplicationList); return(CachedLists); }