In the MVC view, if we have lot of if-else conditions how to avoid that?
Is it really a bad idea to have in-line codes in view?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh ShahPosted Jun 20, 2017, 10:27 PM
Nilesh ShahPosted Jun 21, 2017, 11:37 AM
Sri RamPosted Jun 21, 2017, 9:51 AM
If yes, can you please provide a good example?