Ejemplo n.º 1
0
        private AttachmentLookupListsCacheObject GetAttachmentAndLookups()
        {
            UcbServiceClient sc           = new UcbServiceClient();
            AttachmentVMDC   returnObject = sc.GetAttachment(HttpContext.Current.User.Identity.Name, HttpContext.Current.User.Identity.Name, "FrameworkAdmin", "", null);

            AttachmentLookupListsCacheObject CachedLists = new AttachmentLookupListsCacheObject();

            CachedLists.IncidentList = Mapper.Map <IEnumerable <IncidentDC>, List <IncidentModel> >(returnObject.IncidentList);
            return(CachedLists);
        }