Skip to content

Commit

Permalink
Fix from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Wadhams committed Jun 7, 2018
1 parent fda74e9 commit 95e17e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public async Task<Vacancy> GetSingleVacancyForPostcode(string postcode)
return result
.ToList()
.OrderByDescending(x => x.VacancyReference)
.SingleOrDefault();
.FirstOrDefault();
}

public async Task UpdateAsync(Vacancy vacancy)
Expand Down

0 comments on commit 95e17e7

Please sign in to comment.