Exemple #1
0
        public AllPeopleDiscountViewModel(IEnumerable <PayGroup> payPeople)
        {
            _month = payPeople.Select(e => e.Date.Date).Distinct().ToList();
            _year  = payPeople.Select(e => e.Date.Year).Distinct().ToList();
            _group = payPeople.Select(e => e.Group).Distinct().ToList();

            _payPeople = payPeople;


            allPeople = new AllPeople();
        }
Exemple #2
0
 public AllPeopleDiscountViewModel(int id)
 {
     allPeople = new AllPeople();
 }