private List <FilterDropdownElement> getMonthDropdownList() { List <FilterDropdownElement> temp = new List <FilterDropdownElement>(); foreach (var Id in TimePeriodHelper.GetMonthsAsIdList()) { temp.Add(new FilterDropdownElement() { Id = Id, Name = TimePeriodHelper.GetMonthName(Id) }); } return(temp); }