Esempio n. 1
0
        private void FillAdditionalInfo(Movie m, Showtime s)
        {
            var hours   = m.Runtime.ToString("hh");
            var minutes = m.Runtime.ToString("mm");
            var rating  = "PG-13";

            AdditionalInfo = $"{hours} hrs {minutes} min | {rating}";
        }
Esempio n. 2
0
 public MovieListItem(Movie movie, Showtime showtime)
 {
     Movie    = movie;
     Showtime = showtime;
     FillAdditionalInfo(movie, showtime);
 }