//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; }