using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Ombi.Helpers; using Ombi.Store.Entities; namespace Ombi.Store.Repository { public interface INotificationTemplatesRepository : IDisposable { IQueryable All(); IQueryable GetAllTemplates(); IQueryable GetAllTemplates(NotificationAgent agent); Task Insert(NotificationTemplates entity); Task Update(NotificationTemplates template); Task UpdateRange(IEnumerable template); Task GetTemplate(NotificationAgent agent, NotificationType type); } }