I have a filter implemented with
- PTWContents = await _context.PTWContents.Where(x => x.OrgID == UserDataRole.OrgID && x.PTWStatus.Equals(SearchPTWStatus)).OrderByDescending(x => x.PTWNo).ToListAsync();
where SearchPTWStatus is a string which is working perfectly.
But when I try to use the same approach where the search parameter is an integer I got no result. What else should I do?