public CottagerViewModel(UnitOfWork unitOfWork, List<Month> monthList, int monthID, CottagerView view)
        {
            _instanceWindow = view;

            _selectedMonthId = monthID;
            _UnitOfWork = unitOfWork;
            RefreshList(_selectedMonthId);
           
            _PumpStationBL = new PumpStationBL(_UnitOfWork);

            _MothList = monthList;
        }
Beispiel #2
0
 public void RefreshList(int monthId)
 {
     PumpStationBL bl = new PumpStationBL(_UnitOfWork);
     bl.FeelCottagersInfoList(_CottagerInfoList, _selectedMonthId); 
 }