private OrganisationHierarchyLookupListsCacheObject GetOrganisationHierarchyAndLookups() { UcbServiceClient sc = new UcbServiceClient(); OrganisationHierarchyVMDC returnObject = sc.GetOrganisationHierarchy(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null); OrganisationHierarchyLookupListsCacheObject CachedLists = new OrganisationHierarchyLookupListsCacheObject(); CachedLists.AncestorOrganisationList = Mapper.Map <IEnumerable <OrganisationDC>, List <OrganisationModel> >(returnObject.AncestorOrganisationList); CachedLists.OrganisationList = Mapper.Map <IEnumerable <OrganisationDC>, List <OrganisationModel> >(returnObject.OrganisationList); return(CachedLists); }