Files
ersatztv/ErsatzTV.Core/Interfaces/Repositories/IConfigElementRepository.cs
T
Jason DoveandGitHub 1ab98578ab refactor namespaces and imports (#670)
* re-namespace

* optimize usings

* more usings

* more of the same

* more implicit/global usings

* cleanup all usings

* minor fixes
2022-03-03 15:36:07 -06:00

12 lines
415 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);
}