Browse Source

commented CompanyRepo

zinab_elgendy 1 year ago
parent
commit
f3eaa3203c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MTWorkHR.Infrastructure/InfrastructureServiceRegistration.cs

+ 1 - 1
MTWorkHR.Infrastructure/InfrastructureServiceRegistration.cs

@@ -28,7 +28,7 @@ namespace MTWorkHR.Infrastructure
 
             services.AddScoped(typeof(IRepository<>), typeof(Repository<>));
             services.AddScoped(typeof(IRepositoryLog<>), typeof(RepositoryLog<>));
-            services.AddScoped(typeof(ICompanyRepository), typeof(CompanyRepository));
+            //services.AddScoped(typeof(ICompanyRepository), typeof(CompanyRepository));
             services.AddScoped(typeof(IPermissionRepository), typeof(PermissionRepository));
             services.AddScoped(typeof(IRolePermissionRepository<RolePermission>), typeof(RolePermissionRepository));
             services.AddScoped(typeof(IUserRoleRepository<IdentityUserRole<string>>), typeof(UserRoleRepository));