Hi folks I have the following error on line 11 in this controller code :
public JsonResult GetChartData_IncidentsBySiteStatus(string SiteTypeId, string searc
You are trying to assign a base class instance to a sub class instance.
Instead of
var sitesQry = _db.Sites;
try using
IQueryable sitesQry = _db.Sites;