public SRoleService() { rRepository = new SRoleRepository(); resRepository = new SResourceRepository(rRepository.DbCondext); pRepository = new SPermissionRepository(rRepository.DbCondext); uRepository = new SUserRepository(rRepository.DbCondext); rpRepository = new SRolePermissionRepository(rRepository.DbCondext); opRepository = new SOPermissionRepository(rRepository.DbCondext); cpRepository = new SCPermissionRepository(rRepository.DbCondext); }
public SResourceService() { rRepository = new SResourceRepository(); oRepository = new SOperatorRepository(rRepository.DbCondext); }