diff --git a/DI/XDIHelperExtension.cs b/DI/XDIHelperExtension.cs index c392342..18c5b72 100644 --- a/DI/XDIHelperExtension.cs +++ b/DI/XDIHelperExtension.cs @@ -3,6 +3,8 @@ using System.Linq; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; +using xCategoryService.Interfaces; +using xCategoryService.Providers; using xCommons.Extensions; using xDataService.DI; using xDataService.Models; @@ -320,6 +322,10 @@ namespace xServices.DI lifeTime: lifeTime, repositoryType: xDataService.Constants.XRepositoryType.EF ); + + // + // TODO: Remove this ... + services.AddScoped(); } #endregion } diff --git a/xServices.csproj b/xServices.csproj index 0dca8eb..d050be2 100644 --- a/xServices.csproj +++ b/xServices.csproj @@ -40,6 +40,7 @@ + \ No newline at end of file