How to use OData with ASP.NET Core Web API
In this article, let's look at how we can add OData capabilities to a simple Web API using the latest OData package and ASP.NET Core as our stack.
ASP.NET Core WebAPI actions CAN have void return types. The framework returns an EmptyResult for such actions with a default 200 (OK) status Code.
This can be particularly observed in the cases of HttpDelete operations where no return is expected by the client in most cases.