DBSet does not contain a definition for Where [duplicate] December 29, 2023 by Tarik Add using System.Linq; in your model class