public IActionResult CreateSchedule(DateTime startdate, DateTime enddate) { startdate = new DateTime(2019, 1, 1); enddate = DateTime.MaxValue; _scheduleLogic.CreateSchedule(startdate, enddate); return(RedirectToAction("ScheduleHome")); }