This commit is contained in:
2026-06-01 01:25:00 +03:30
parent 67edd50046
commit bcfe7b7de1
+12 -11
View File
@@ -207,11 +207,12 @@ namespace xServices.DI
app.UseXFileService( app.UseXFileService(
isDevelopmentEnvironment: isDevelopmentEnvironment isDevelopmentEnvironment: isDevelopmentEnvironment
); );
//
// Using Category Service ... // //
app.UseXCategoryService( // // Using Category Service ...
isDevelopmentEnvironment: isDevelopmentEnvironment // app.UseXCategoryService(
); // isDevelopmentEnvironment: isDevelopmentEnvironment
// );
} }
// //
@@ -330,12 +331,12 @@ namespace xServices.DI
repositoryType: repositoryType repositoryType: repositoryType
); );
// // //
// Register Category Service ... // // Register Category Service ...
services.AddXCategoryService<XApiDbContext>( // services.AddXCategoryService<XApiDbContext>(
lifeTime: lifeTime, // lifeTime: lifeTime,
repositoryType: repositoryType // repositoryType: repositoryType
); // );
} }
#endregion #endregion
} }