Get data from database compare by datetime or by only date using linq

1. Compare by datetime

Call above function


 

2. Compare by date

Call above function