mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
feature exchange rate update automation
Automated downloading exchange rates from HMRC and updating the database. Added function call to the console and form applications. Also added a form to show the console output in form application.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
using System;
|
||||
using bnhtrade.Core.Data.Database.Account;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms.Design;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace bnhtrade.Core.Test.Account
|
||||
{
|
||||
@@ -11,7 +14,13 @@ namespace bnhtrade.Core.Test.Account
|
||||
{
|
||||
public Account()
|
||||
{
|
||||
Journal();
|
||||
UpdateHmrcExchageRates();
|
||||
}
|
||||
|
||||
public void UpdateHmrcExchageRates()
|
||||
{
|
||||
var logic = new bnhtrade.Core.Logic.Account.Currency();
|
||||
logic.UpdateHmrcExchageRates();
|
||||
}
|
||||
|
||||
public void PurchaseInvoice()
|
||||
|
||||
Reference in New Issue
Block a user