ASP.Net MVC Controller Actions that return void
asp.net, asp.net-mvc
Solution
Yes
A controller that returns void will produce an EmptyResult.
Taken from
The Life And Times of an ASP.NET MVC Controller
Problem
If I have the following controller action... ``` public void DoSomething() { } ``` will the framework actually convert it to this? ``` public EmptyResult DoSomething() { return new EmptyResult(); } ```