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