Hello Everyone
How do I return two different Views from the same Action in ASP.NET MVC
for ex :
- public ActionResult Index()
- {
- var CalenderModel = _calendar.getCalender(DateTime.Now.Month, DateTime.Now.Year);
- return View(new NewsModel {
- ActivityNewsList = DB.ActivityNews.ToList()
- });
- }
Also want to return CalendarModel on above Action. how can i do it ?


Prakash KumarRank #1,799 · 828 reputationPosted Oct 25, 2016, 8:30 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Oct 25, 2016, 7:12 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Oct 25, 2016, 8:49 PM EDT