private static async Task AddListCardAttachment(Activity replyActivity, System.Collections.Generic.IEnumerable <FlightInfo> flightinfo, DateTime Journetdate)
        {
            var card = O365CardHelper.GetListofFlights(flightinfo, Journetdate);

            try
            {
                replyActivity.Attachments.Add(card);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }
Beispiel #2
0
        private static async Task AddListCardAttachment(Activity replyActivity, System.Collections.Generic.IEnumerable <AirCraftInfo> aircraftDetails)
        {
            var card = O365CardHelper.GetListofFlights(aircraftDetails);

            try
            {
                replyActivity.Attachments.Add(card);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }