public IDictionary <string, string> GetPhoneTypeSelectList() { _commonDataAccess = new CommonDataAccess(_context); var lst = _commonDataAccess.GetActivePhoneType(); return((from x in lst select new { key = x.PhoneTypeId.ToString(), value = x.PhoneTypeName }).ToDictionary(t => t.key, t => t.value)); }