ITimeU.Controllers.AthleteController.getBirthDate C# (CSharp) Method

getBirthDate() private method

private getBirthDate ( ) : List
return List
        private List<BirthDate> getBirthDate()
        {
            int startdate = 1910;
            int id = 1;
            List<BirthDate> birthdate = new List<BirthDate>();
            while (startdate <= DateTime.Now.Year)
            {
                birthdate.Add(new BirthDate() { Id = id++, BirthYear = startdate++ });
            }
            birthdate.Insert(0, null);
            return birthdate;
        }