using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Ombi.Store.Entities;
namespace Ombi.Store.Repository
{
public interface ISettingsRepository : IDisposable
{
///
/// Inserts the specified entity.
///
/// The entity.
GlobalSettings Insert(GlobalSettings entity);
Task InsertAsync(GlobalSettings entity);
///
/// Gets the specified identifier.
///
/// Name of the settings.
///
GlobalSettings Get(string settingsName);
Task GetAsync(string settingsName);
///
/// Deletes the specified entity.
///
/// The entity.
///
Task DeleteAsync(GlobalSettings entity);
void Delete(GlobalSettings entity);
///
/// Updates the specified entity.
///
/// The entity.
///
Task UpdateAsync(GlobalSettings entity);
void Update(GlobalSettings entity);
}
}