Exemplo n.º 1
0
        public ActionResult <string> GetShowsForHall(short hall, string date)
        {
            date = date.Substring(0, 10);
            var    data     = _sqlService.GetShowsForHall(hall, date);
            string showTime = "Sallen er optagede mellem: " + string.Join(",", data);

            if (showTime == "Sallen er optagede mellem: ")
            {
                showTime = "der er ingen film denne dag";
            }
            return(showTime);
        }