CRUD implemented

This commit is contained in:
2025-09-22 15:35:31 +02:00
parent 9c006b0674
commit e2c588794e
11 changed files with 207 additions and 105 deletions

View File

@@ -1,5 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Logic;
using Repository;
namespace Keychain;
@@ -25,8 +26,8 @@ class Program
private static ServiceProvider SetupServices()
{
var services = new ServiceCollection();
//services.AddTransient<IPasswordStoreService, PasswordStoreService>();
services.AddSingleton<IPasswordStoreService, PasswordStoreService>();
services.AddSingleton<IRepository, JsonRepository>();
return services.BuildServiceProvider();
}
}