Add - operator into basecalc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user