rename namespace for data objects
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.Immutable;
|
||||
|
||||
namespace dopt.DeltaBarth.JsonStructs
|
||||
namespace dopt.DeltaBarth.DataObjects
|
||||
{
|
||||
public readonly struct ApiServerError
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace dopt.DeltaBarth
|
||||
pyModManagement.set_credentials(nutzername, passwort, datenbank, mandant);
|
||||
}
|
||||
}
|
||||
public JsonStructs.UmsatzPrognoseAusgabe UmsatzprognoseDummy(int? firmaId, DateTime? buchungsDatum)
|
||||
public DataObjects.UmsatzPrognoseAusgabe UmsatzprognoseDummy(int? firmaId, DateTime? buchungsDatum)
|
||||
{
|
||||
AssertNotDisposed();
|
||||
string pyJson;
|
||||
@@ -42,11 +42,11 @@ namespace dopt.DeltaBarth
|
||||
{
|
||||
pyJson = pyModPipeline.pipeline_sales_forecast_dummy(firmaId, buchungsDatum);
|
||||
}
|
||||
var parsed = JsonSerializer.Deserialize<JsonStructs.UmsatzPrognoseAusgabe>(pyJson);
|
||||
var parsed = JsonSerializer.Deserialize<DataObjects.UmsatzPrognoseAusgabe>(pyJson);
|
||||
|
||||
return parsed;
|
||||
}
|
||||
public JsonStructs.UmsatzPrognoseAusgabe Umsatzprognose(int? firmaId, DateTime? buchungsDatum)
|
||||
public DataObjects.UmsatzPrognoseAusgabe Umsatzprognose(int? firmaId, DateTime? buchungsDatum)
|
||||
{
|
||||
AssertNotDisposed();
|
||||
string pyJson;
|
||||
@@ -54,7 +54,7 @@ namespace dopt.DeltaBarth
|
||||
{
|
||||
pyJson = pyModPipeline.pipeline_sales_forecast(firmaId, buchungsDatum);
|
||||
}
|
||||
var parsed = JsonSerializer.Deserialize<JsonStructs.UmsatzPrognoseAusgabe>(pyJson);
|
||||
var parsed = JsonSerializer.Deserialize<DataObjects.UmsatzPrognoseAusgabe>(pyJson);
|
||||
|
||||
return parsed;
|
||||
}
|
||||
@@ -68,7 +68,7 @@ namespace dopt.DeltaBarth
|
||||
}
|
||||
return pyJson;
|
||||
}
|
||||
protected JsonStructs.Credentials GetCredentials()
|
||||
protected DataObjects.Credentials GetCredentials()
|
||||
{
|
||||
AssertNotDisposed();
|
||||
string pyJson;
|
||||
@@ -77,7 +77,7 @@ namespace dopt.DeltaBarth
|
||||
pyJson = (string)pyModManagement.get_credentials();
|
||||
}
|
||||
|
||||
JsonStructs.Credentials credentials = JsonSerializer.Deserialize<JsonStructs.Credentials>(pyJson);
|
||||
DataObjects.Credentials credentials = JsonSerializer.Deserialize<DataObjects.Credentials>(pyJson);
|
||||
|
||||
return credentials;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user