public IList <BaseForumContainerInfoDto> GetAllElements() { var SectionList = _sectionRepo.GetAllIncludeReferences(); var sectionElementsDto = Mapper.Map <IList <BaseForumContainerInfoDto> >(SectionList); foreach (var item in sectionElementsDto) { InsertLastUpdateTopic(item); } return(sectionElementsDto); }