When comparing/searching Use .Date on both side. For example:
return await _context.KWhLog.Where(e => e.DateAndTime.Date == (shortDateValue.Date)).ToListAsync();The time parameter will be ignored.
When comparing/searching Use .Date on both side. For example:
return await _context.KWhLog.Where(e => e.DateAndTime.Date == (shortDateValue.Date)).ToListAsync();The time parameter will be ignored.