public ActionResult ShowCalendar(int year, int month) { ViewData["Month"] = month; ViewData["Year"] = year; //Room Details. var results = roomRepository.GetTotalRoomAvailableByCalendar(month, year, LogInManager.LoggedInUserId); ViewData["RoomDetails"] = results; //Holidays. var holidays = holidayRepository.GetHolidaysOfCurrentMonth(month, year); ViewData["Holidays"] = holidays; //Calendar Notes. var calendarNotes = calendarNotesRepository.GetCalendarNotesOfCurrentMonth(month, year, LogInManager.LoggedInUserId); ViewData["CalendarNotes"] = calendarNotes; return(PartialView("_Calendar")); }