Пример #1
0
        private Showtime CreateShowtime(Tuple <DayOfWeek, string> date)
        {
            var showtime = new Showtime {
                Id = Guid.NewGuid().ToString(), DateTime = dateBuilder.GetDate(date.Item1, date.Item2)
            };

            LogHelper.Information(this, $"Showtime created ({date.Item1.ToString()},{date.Item2}): {showtime.DateTime.ToString()}");

            return(showtime);
        }