Files
ersatztv/ErsatzTV.Core/Interfaces/Repositories/IConfigElementRepository.cs
T
Jason DoveandGitHub c02b83d0d6 code cleanup (#743)
* update tools

* run code cleanup

* update dependencies
2022-04-19 17:47:18 -05:00

13 lines
416 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Core.Interfaces.Repositories;
public interface IConfigElementRepository
{
Task<Unit> Upsert<T>(ConfigElementKey configElementKey, T value);
Task<Option<ConfigElement>> Get(ConfigElementKey key);
Task<Option<T>> GetValue<T>(ConfigElementKey key);
Task Delete(ConfigElement configElement);
Task<Unit> Delete(ConfigElementKey configElementKey);
}