public static Task ShowAlarms(IBotContext context)
        {
            List <Alarm> alarms = GetAlarms(context);

            ShowAlarmsResponses.ReplyWithShowAlarms(context, alarms);
            return(Task.CompletedTask);
        }
 public static Task ShowAlarms(AlarmBotContext context)
 {
     ShowAlarmsResponses.ReplyWithShowAlarms(context, context.UserState.Alarms);
     return(Task.CompletedTask);
 }
Exemple #3
0
 public static async Task ShowAlarms(AlarmBotContext context)
 {
     await ShowAlarmsResponses.ReplyWithShowAlarms(context, context.UserState.Alarms);
 }