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 SUserService() { uRepository = new SUserRepository(); }
public SOrganizationService() { oRepository = new SOrganizationRepository(); uRepository = new SUserRepository(oRepository.DbCondext); }