//initializes these variables public EnterInfoModel(TimeSlotListContext con, AppointmentListContext appt) { Timecontext = con; Apptcontext = appt; }
//when built it initializes these variables and gets the data from the DB public HomeController(ILogger <HomeController> logger, AppointmentListContext Acon, TimeSlotListContext Tcon) { _logger = logger; AppointmentContext = Acon; TimeContext = Tcon; }