Пример #1
0
 public RevRobasViewModel(DAL dal, IEnumerable <RobaViewModel> robas)
 {
     _dal     = dal;
     RevRobas = new ObservableCollection <RevRobaViewModel>(_dal.GetRevRoba().Select(x => new RevRobaViewModel(x, robas)).ToList());
 }