Using Linq to select the first and last values
What you could do is to remove the ToList() from your query. This would change your code from making a single query that returns many values to two queries, each returning a single value.