* re-namespace * optimize usings * more usings * more of the same * more implicit/global usings * cleanup all usings * minor fixes
12 lines
415 B
C#
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);
|
|
} |