Hi
I am getting error - Cannot implicitly convert System.linq.iqueryable to system.collections.genericlist
C#
public List GetList()
{
var Result = from t in context.View_Header
where t.IsActive == true
select new { t.ID, t.Name };
return Result;
}Thanks

Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Mar 16, 2022, 5:07 AM EDT