Big refactorying for supporting multi currencies

This commit is contained in:
nicolas.dorier
2017-12-21 15:52:04 +09:00
parent d5ef36fe50
commit a37fdde214
23 changed files with 1201 additions and 240 deletions

View File

@@ -17,6 +17,17 @@ namespace BTCPayServer.Data
get; set;
}
[Obsolete("Use GetCryptoCode instead")]
public string CryptoCode { get; set; }
#pragma warning disable CS0618
public string GetCryptoCode()
{
return string.IsNullOrEmpty(CryptoCode) ? "BTC" : CryptoCode;
}
#pragma warning restore CS0618
public DateTimeOffset Assigned
{
get; set;