Beispiel #1
0
        public virtual List <DtoInfoT> GetAll()
        {
            var lista    = repository.GetAll() as List <T>;
            var destList = new List <DtoInfoT>();

            foreach (var item in lista)
            {
                destList.Add(mapping.MapToInfoDto(item));
            }
            return(destList);
        }