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); } }