public UserCommandHandler(IUserRepository repository, IRoleRepository roleRepository, IRfaRepository rfaRepository) { _repository = repository; _roleRepository = roleRepository; _rfaRepository = rfaRepository; }
public RfaCommandHandlerShould() : base() { _rfaRepository = new RfaRepository(ExampleContext); _rfaCommandHandler = new RfaCommandHandler(_rfaRepository, new UserRepository(ExampleContext), new RoleRepository(ExampleContext)); }
public RfaCommandHandler(IRfaRepository repository, IUserRepository repositoryUser, IRoleRepository roleRepository) { _repository = repository; _repositoryUser = repositoryUser; _roleRepository = roleRepository; }