public IEnumerable <TodoItem> GetByPeriod(string user, DateTime date, bool done) { return(_dataContext.Todos .AsNoTracking() .Where(TodoQueries.GetByPeriodo(user, date, done)) .OrderBy(x => x.Date)); }