mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Store Settings feature with own table * fix test * Include the store settings to StoreRepository, remove caching stuff Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
10 lines
291 B
C#
10 lines
291 B
C#
#nullable enable
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Abstractions.Contracts;
|
|
|
|
public interface IStoreRepository
|
|
{
|
|
Task<T?> GetSettingAsync<T>(string storeId, string name) where T : class;
|
|
Task UpdateSetting<T>(string storeId, string name, T obj) where T : class;
|
|
}
|