Test und Log

This commit is contained in:
2025-10-03 17:17:28 +02:00
parent 9a59e10b0c
commit 27792ff7f4
2 changed files with 30 additions and 0 deletions

View File

@@ -252,6 +252,8 @@ public class MonitoringController : Controller
Name = dto.Name
};
_logger.LogInformation(container.Name + " added for Host " + container.ServerId);
_context.Containers.Add(container);
await _context.SaveChangesAsync();
}