AdminController; DbBackup route

This commit is contained in:
Michał Zieliński
2023-09-01 18:23:53 +02:00
parent 0be0ce4b1c
commit 095fc10ac8
8 changed files with 124 additions and 3 deletions

View File

@@ -165,6 +165,7 @@ namespace WebAPI.Controllers
{
Title = "Import error",
Type = LogEntryType.error,
LogType = LogType.import,
Message = e.ToString(),
CreatedAt = DateTime.UtcNow
});
@@ -294,9 +295,9 @@ namespace WebAPI.Controllers
{
Title = $"Import Success, {importWorker.Name}",
Type = LogEntryType.info,
LogType = LogType.import,
CreatedAt = DateTime.UtcNow
});
}
private Layer AddLayer(Layer input, Guid currentUserId)
{