Esempio n. 1
0
 public List<LogActivityViewModel> MapList(List<log> listLog)
 {
     List<LogActivityViewModel> result = new List<LogActivityViewModel>();
     foreach (log a in listLog)
     {
         LogActivityViewModel listViewModel = new LogActivityViewModel(a);
         result.Add(listViewModel);
     }
     return result;
 }
Esempio n. 2
0
        public List <LogActivityViewModel> MapList(List <log> listLog)
        {
            List <LogActivityViewModel> result = new List <LogActivityViewModel>();

            foreach (log a in listLog)
            {
                LogActivityViewModel listViewModel = new LogActivityViewModel(a);
                result.Add(listViewModel);
            }
            return(result);
        }