Skip to content

Instantly share code, notes, and snippets.

@screamingworld
Created November 12, 2020 13:33
Show Gist options
  • Save screamingworld/56264cf7217775a38cc5df2facc5a6a8 to your computer and use it in GitHub Desktop.
Save screamingworld/56264cf7217775a38cc5df2facc5a6a8 to your computer and use it in GitHub Desktop.
using Notifier.WebApi.Models;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Notifier.WebApi.Services
{
public interface INotificationService
{
Task CreateAndSendAsync(string message, CancellationToken cancellationToken);
Task<ICollection<NotificationModel>> GetAsync(CancellationToken cancellationToken);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment