//public async Task<CSU_Callback> MapCSU(WorkQueueViewModel model, string userName) //{ // model.QueueItemViewModel = await GetQuestionSet(_queueItemGroupId); // CustomMapper _customMapper = new CustomMapper(); // var csuCallbackItem = (CSU_Callback)_customMapper.Map(model.DomainViewModel.DomainInfoViewModels, model.DomainViewModel.DomainGroup.ClassMapping); // csuCallbackItem = (CSU_Callback)_customMapper.MapProperty(csuCallbackItem, "ReasonForTransfer", "NULL"); // return csuCallbackItem; //} public async Task <List <IDomainInfoViewModels> > Get(int Id, List <IDomainInfoViewModels> domainInfoViewModels) { var result = await _httpClientConnectionCsuCallback.GetAsync(Id); var mappedList = _customMapper.ReMapItemToDynamicList(domainInfoViewModels, result); return(mappedList); }