예제 #1
0
 public string ExecuteAndGetResponse(MessageActivity activity) =>
 string.Join(
     ActivityExtension.NewLine,
     _movieRepository.GetUpcomingPlaying().Results.Select(moovie => $"\"{moovie.Title}\" Дата выхода: {moovie.ReleaseDate} {Emojis.GetFlag(moovie.OriginalLanguage)}"));
 public string ExecuteAndGetResponse(MessageActivity activity) =>
 string.Join(
     ActivityExtension.NewLine,
     _movieRepository.GetNowPlaying().Results.Select(movie => $"\"{movie.Title}\" Рейтинг: {movie.VoteAverage} {Emojis.GetFlag(movie.OriginalLanguage)}"));