I have controller methods where sometimes I return a View and othertimes I RedirectToAction. So, two returns are required.
>I agree and I've decided to use early exit points. I've checked a few procedures coded by my colleagues - they used early exit points. I also believe this is part of ASP.NET MVC - I've seen lots of conditional return code in the Controller's code. Otherwise I was getting lost in all these if else statements although I coded a few of the methods this way - only 1 exit point.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer