public async Task <ListResultDto <GetAuthorOutput> > ListAll() { var test1 = L("TenantName_Regex_Description"); Logger.Info("Test logger.Info"); var authors = _authorManager.GetAllList(); var result = await authors.ToListAsync(); return(new ListResultDto <GetAuthorOutput>(ObjectMapper.Map <List <GetAuthorOutput> >(result))); }
public IEnumerable <GetAuthorOutput> ListAll() { var getAll = _authorManager.GetAllList(); var output = ObjectMapper.Map <List <GetAuthorOutput> >(getAll); return(output); }
public IEnumerable <GetAuthorOutput> ListAll() { var authors = _authorManager.GetAllList(); var output = _objectMapper.Map <IEnumerable <GetAuthorOutput> >(authors); return(output); }