Пример #1
0
 public UserIdentityService(IConnectionFactory connectionFactory,
                            IUserIdentityRepository userIdentityRepository,
                            IUserGroupsIdentityRepository userGroupsIdentityRepository,
                            IUserClaimsIdentityRepository userClaimsIdentityRepository,
                            IUserExternalLoginsIdentityRepository userLoginsIdentityRepository,
                            IGroupIdentityRepository groupIdentityRepository)
 {
     _connectionFactory            = connectionFactory;
     _userIdentityRepository       = userIdentityRepository;
     _userGroupsIdentityRepository = userGroupsIdentityRepository;
     _userClaimsIdentityRepository = userClaimsIdentityRepository;
     _userLoginsIdentityRepository = userLoginsIdentityRepository;
     _groupIdentityRepository      = groupIdentityRepository;
 }
 public GroupIdentityService(IConnectionFactory connectionFactory,
                             IGroupIdentityRepository groupIdentityRepository)
 {
     _connectionFactory       = connectionFactory;
     _groupIdentityRepository = groupIdentityRepository;
 }