Add - operator into basecalc

This commit is contained in:
Michał Zieliński
2025-03-24 16:34:56 +01:00
parent 3387013d60
commit a6ac91305e
8 changed files with 181 additions and 6 deletions

View File

@@ -16,16 +16,18 @@ public class DataInboxController : Controller
private readonly AppDbContext _db;
private readonly IConfiguration _configuration;
private readonly LogsController _logsController;
private readonly LayersController _layersController;
public DataInboxController(
AppDbContext db,
GoogleSheetsHelper googleSheetsHelper,
IConfiguration configuration,
FirestoreDb firestoreDb)
FirestoreDb firestoreDb,
LayersController layersController)
{
_db = db;
_configuration = configuration;
_logsController = new LogsController(firestoreDb);
_layersController = layersController;
}
[HttpPut]
@@ -115,6 +117,11 @@ public class DataInboxController : Controller
CreatedAt = DateTime.UtcNow
});
if (dataInbox.Name == "morska.d3.importer")
{
// TODO: import dataInbox as Layer
}
return Ok();
}
catch (Exception e)