feat: 2e save character initial implementation WIP
2e is hidden behind url navigation hiding, so hoping that nobody found it yet. Note: DB migration make this commit a bit risky!
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Kemkas.Web.Services.Identity;
|
||||
using Kemkas.Web.Services.Shared;
|
||||
|
||||
namespace Kemkas.Web.Services.FirstEdition.Character;
|
||||
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
||||
public static IServiceCollection AddCharacterServices(this IServiceCollection serviceCollection)
|
||||
{
|
||||
serviceCollection.AddScoped<ICurrentUserService, CurrentUserService>();
|
||||
|
||||
serviceCollection.AddTransient<ICharacterValidationService, CharacterValidationService>();
|
||||
serviceCollection.AddTransient<ICharacter1EDtoToDbModelService, Character1EDtoToDbModelService>();
|
||||
serviceCollection.AddTransient<ICharacterDbModelToDtoService, CharacterDbModelToDtoService>();
|
||||
serviceCollection.AddScoped<ICharacterPersistenceService, CharacterPersistenceService>();
|
||||
return serviceCollection;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user