Skip to content

Instantly share code, notes, and snippets.

@screamingworld
Created November 12, 2020 13:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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