Skip to content

Replaced SingleOrDefault with FirstOrDefault #718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025

Conversation

FrostyApeOne
Copy link
Collaborator

Replaced SingleOrDefault with FirstOrDefault in the EstablishmentRepository, to avoid exceptions if there is more than one record in the db table.

…sitory, to avoid exceptions if there is more than one record in the db table.
@FrostyApeOne FrostyApeOne requested review from nwarms and mshakirdfe May 9, 2025 09:13
Copy link

sonarqubecloud bot commented May 9, 2025

@FrostyApeOne FrostyApeOne merged commit 0d23b3f into main May 9, 2025
3 checks passed
@FrostyApeOne FrostyApeOne deleted the bug/210931-replace-SingleOrDefault branch May 9, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants