Exemple #1
0
        public IActionResult ShareCalendarForm(int id)
        {
            string user = userManager.GetUserId(User);

            Business.Models.Calendar calendar = calendarService.GetCalendar(user, id);

            return(PartialView("PartialViews/PopUps/ShareCalendarFormPartial", calendar));
        }
Exemple #2
0
        public IActionResult GetCalendarView(int id)
        {
            string user = userManager.GetUserId(User);

            Business.Models.Calendar calendar = calendarService.GetCalendar(user, id);

            return(PartialView("PartialViews/SideBar/CalendarPartial", calendar));
        }
Exemple #3
0
 public EventFormDTO(
     Business.Models.Calendar _calendar,
     Event _event,
     EventScheduleDropdown _dropdown,
     IEnumerable <Business.Models.Calendar> _calendars)
 {
     Event       = _event;
     Dropdown    = _dropdown;
     CalendarDTO = new CalendarDTO(_calendar, _calendars);
 }
Exemple #4
0
 public EventInfoDTO(Event _event, Business.Models.Calendar _calendar)
 {
     Event    = _event;
     Calendar = _calendar;
 }