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 ?