mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
20 lines
No EOL
752 B
C#
20 lines
No EOL
752 B
C#
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<NotificationTemplates> All();
|
|
IQueryable<NotificationTemplates> GetAllTemplates();
|
|
IQueryable<NotificationTemplates> GetAllTemplates(NotificationAgent agent);
|
|
Task<NotificationTemplates> Insert(NotificationTemplates entity);
|
|
Task Update(NotificationTemplates template);
|
|
Task UpdateRange(IEnumerable<NotificationTemplates> template);
|
|
Task<NotificationTemplates> GetTemplate(NotificationAgent agent, NotificationType type);
|
|
}
|
|
} |