Initial Argus web catalog

This commit is contained in:
Курнат Андрей
2026-06-20 19:55:11 +03:00
commit 5f80c4bf6a
30 changed files with 2620 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace Argus.Infrastructure;
public sealed class StoragePaths(IHostEnvironment hostEnvironment)
{
public string DataRootPath => Path.Combine(hostEnvironment.ContentRootPath, "Data");
public string PackagesRootPath => Path.Combine(DataRootPath, "Packages");
public void EnsureCreated()
{
Directory.CreateDirectory(DataRootPath);
Directory.CreateDirectory(PackagesRootPath);
}
}