public IActionResult ShareCalendarForm(int id) { string user = userManager.GetUserId(User); Business.Models.Calendar calendar = calendarService.GetCalendar(user, id); return(PartialView("PartialViews/PopUps/ShareCalendarFormPartial", calendar)); }
public IActionResult GetCalendarView(int id) { string user = userManager.GetUserId(User); Business.Models.Calendar calendar = calendarService.GetCalendar(user, id); return(PartialView("PartialViews/SideBar/CalendarPartial", calendar)); }
public EventFormDTO( Business.Models.Calendar _calendar, Event _event, EventScheduleDropdown _dropdown, IEnumerable <Business.Models.Calendar> _calendars) { Event = _event; Dropdown = _dropdown; CalendarDTO = new CalendarDTO(_calendar, _calendars); }
public EventInfoDTO(Event _event, Business.Models.Calendar _calendar) { Event = _event; Calendar = _calendar; }