feat: implement AuthorizedPerson management with repository and application services
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using _0_Framework.Application.UID;
|
||||
using Company.Domain.BillAgg;
|
||||
using Company.Domain.Board;
|
||||
using Company.Domain.ChapterAgg;
|
||||
@@ -216,6 +217,9 @@ using CompanyManagment.App.Contracts.AdminMonthlyOverview;
|
||||
using CompanyManagment.App.Contracts.ContractingPartyBankAccounts;
|
||||
using CompanyManagment.App.Contracts.PaymentInstrument;
|
||||
using CompanyManagment.App.Contracts.PaymentTransaction;
|
||||
using CompanyManagment.App.Contracts.AuthorizedPerson;
|
||||
using Company.Domain.AuthorizedPersonAgg;
|
||||
using CompanyManagment.EFCore.Repository;
|
||||
|
||||
namespace PersonalContractingParty.Config;
|
||||
|
||||
@@ -300,6 +304,13 @@ public class PersonalBootstrapper
|
||||
services.AddTransient<IInstitutionContractApplication, InstitutionContractApplication>();
|
||||
services.AddTransient<IInstitutionContractRepository, InstitutionContractRepository>();
|
||||
|
||||
// AuthorizedPerson Services
|
||||
services.AddTransient<IAuthorizedPersonApplication, AuthorizedPersonApplication>();
|
||||
services.AddTransient<IAuthorizedPersonRepository, AuthorizedPersonRepository>();
|
||||
|
||||
// UID Service - moved to Infrastructure layer
|
||||
services.AddTransient<IUidService, CompanyManagment.EFCore.Services.UidService>();
|
||||
|
||||
services.AddTransient<IContactInfoApplication, InstitutionContractContactInfoApplication>();
|
||||
services.AddTransient<IContactInfoRepository, InstitutionContractContactInfoRepository>();
|
||||
|
||||
@@ -576,4 +587,4 @@ public class PersonalBootstrapper
|
||||
|
||||
services.AddDbContext<CompanyContext>(x => x.UseSqlServer(connectionString));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user