示例#1
0
        private void AddWeek(object parameter)
        {
            var week      = _weekService.NewWeek(GetMaxStartDate());
            var viewModel = new WeekViewModel(_weekService, _hourCodeProvider, week);

            Weeks.Insert(0, viewModel);
            CurrentWeek = viewModel;
        }