- Add Data.Mongo to your project
- Add Mongo connection in AppSettings
- Inject Mongo Repository
use [BsonIgnoreIfNull] Attribute to dont save property if it's null
_repository.AsQueryable().Where(x => x.Created >= from && x.Created <= to);
Warning Dont use AsEnumerable as much as you can it will decrease the speed and performance so much