eiximenis 485bb9e4a9 WIP
2019-01-23 20:02:46 +01:00

30 lines
782 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WebhookClient.Models;
namespace WebhookClient.Services
{
public class WebhooksClient : IWebhooksClient
{
public async Task<IEnumerable<WebhookResponse>> LoadWebhooks()
{
return new[]{
new WebhookResponse()
{
Date = DateTime.Now,
DestUrl = "http://aaaaa.me",
Token = "3282832as2"
},
new WebhookResponse()
{
Date = DateTime.Now.Subtract(TimeSpan.FromSeconds(392)),
DestUrl = "http://bbbbb.me",
Token = "ds2"
}
};
}
}
}