FirstOrDefault() to Single

original code

should be

 

Leave a Reply