From Dev.to
Return or throw? Result pattern vs exceptions in ASP.NET Core
The order does not exist. Now what? Every .NET API answers this question many times a day, and there are two camps. One throws a NotFoundException and lets something upstream turn it into a 404. The o...
