using System; using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Models.Mail; namespace Bit.Core.Services { public interface IMailEnqueuingService { Task EnqueueAsync(IMailQueueMessage message, Func fallback); Task EnqueueManyAsync(IEnumerable messages, Func fallback); } }