Here Mudassar Ahmed Khan has explained with an example, how to use EmptyResult in ASP.Net MVC Razor.
EmptyResult is a class in ASP.Net MVC whose object is returned in case when NULL value or Nothing needs to be returned from Controller to View in ASP.Net MVC Razor.
↧