ViewResult or ActionResult | does it makes sense to use ViewResult if ActionResult is good for every
Posted
by Omu
on Stack Overflow
See other posts from Stack Overflow
or by Omu
Published on 2010-03-20T20:17:42Z
Indexed on
2010/03/20
20:21 UTC
Read the original article
Hit count: 367
In asp.net mvc there is ViewResult for returning a View and ActionResult for returning whatever you want, so is there some good reason why should I use ViewResult instead of ActionResult when I'm sure that I will return a View ?
© Stack Overflow or respective owner