public List <string> GetWorkTypes() { List <string> ret = new List <string>(); IEnumerable <WorkType> myList = _logic.GetWorkType(); foreach (var item in myList) { ret.Add($"{item.Id} : {item.Name}"); } return(ret); }