public IEnumerable <int> GetSelectedAheadOfTimeValuesIDs()
 {
     return(AheadOfTime
            .Where(a => a.Selected == true)
            .Select(n => int.Parse(n.Value))
            .ToList());
 }
        public void SetAheadOfTimeValuesAsSelected(IEnumerable <int> aheadOfTimeValuesIds)
        {
            if (aheadOfTimeValuesIds == null)
            {
                return;
            }

            AheadOfTime
            .Where(a => aheadOfTimeValuesIds.Contains(int.Parse(a.Value)))
            .ToList()
            .ForEach(a => a.Selected = true);
        }