Skip to content

Commit

Permalink
added Singleton Errormessage service to resolve the error details
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiren-singh-007 committed Aug 1, 2024
1 parent 56818d2 commit a6922fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/marketplace/Apps.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ await WebAppHelper
.AddTransient<IAppChangeBusinessLogic, AppChangeBusinessLogic>()
.AddTransient<IOfferService, OfferService>()
.AddTransient<IOfferSubscriptionService, OfferSubscriptionService>()
.AddSingleton<IErrorMessageService, ErrorMessageService>()
.AddSingleton<IErrorMessageContainer, ValidationExpressionErrorMessageContainer>()
.AddTechnicalUserProfile()
.ConfigureAppsSettings(builder.Configuration.GetSection("AppMarketPlace"))
Expand Down
1 change: 1 addition & 0 deletions src/marketplace/Services.Service/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ await WebAppHelper
.AddServiceBusinessLogic(builder.Configuration)
.AddTransient<IServiceReleaseBusinessLogic, ServiceReleaseBusinessLogic>()
.AddTransient<IServiceChangeBusinessLogic, ServiceChangeBusinessLogic>()
.AddSingleton<IErrorMessageService, ErrorMessageService>()
.AddSingleton<IErrorMessageContainer, ValidationExpressionErrorMessageContainer>()
.AddTechnicalUserProfile()
.AddOfferDocumentServices();
Expand Down

0 comments on commit a6922fa

Please sign in to comment.