mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
moving code our of program file
This commit is contained in:
@@ -19,7 +19,7 @@ namespace bnhtrade.Core.Logic.Utilities
|
||||
|
||||
public void DownloadAll()
|
||||
{
|
||||
MiscFunction.EventLogInsert("Nightly scheduled tasks started.");
|
||||
new Logic.Log.LogEvent().EventLogInsert("Nightly scheduled tasks started.");
|
||||
|
||||
var stock = new bnhtrade.Core.Stock.StockReconciliation();
|
||||
var export = new bnhtrade.Core.Logic.Export.AmazonSettlement(dbCredentials.ConnectionString);
|
||||
@@ -46,14 +46,14 @@ namespace bnhtrade.Core.Logic.Utilities
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MiscFunction.EventLogInsert(
|
||||
new Logic.Log.LogEvent().EventLogInsert(
|
||||
"Exception caught running all report get method, see for further details",
|
||||
1,
|
||||
ex.ToString()
|
||||
);
|
||||
}
|
||||
}
|
||||
MiscFunction.EventLogInsert("Nightly scheduled tasks finished.");
|
||||
new Logic.Log.LogEvent().EventLogInsert("Nightly scheduled tasks finished.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user