using System.Collections.Generic;
using PolyTraderSharp.Models;

namespace PolyTrader.Modules.CopyTrading.Persistence
{
    /// <summary>
    /// Persistenz der copytrading-spezifischen Account-Detail-Einstellungen
    /// (Collection "ct_account_settings", Schlüssel = AccountId).
    /// </summary>
    public interface ICopyTradingAccountSettingsRepository
    {
        List<CopyTradingAccountSettings> GetAll();
        CopyTradingAccountSettings? Get(int accountId);
        void Upsert(CopyTradingAccountSettings settings);
        void Delete(int accountId);
    }
}
