Ejemplo n.º 1
0
        private void RemoveWeek(object obj)
        {
            if (CurrentWeek == null)
            {
                return;
            }
            var currentWeek = CurrentWeek;

            Weeks.Remove(currentWeek);
            CurrentWeek = Weeks.FirstOrDefault();
            _weekService.Remove(currentWeek.Week);
        }