Exemple #1
0
        public IActionResult Signup()
        {
            // *** Add IF statement in here to determine if the datetime is available or not
            List <string> times = new List <string>();

            foreach (Timeslot s in Timeslot.GetTimeslots())
            {
                times.Add($"{s.Date}");
            }
            return(View(times));
        }