Ejemplo n.º 1
0
 public UsuarioController(IUsuarioUseCase usuarioUseCase)
 {
     this.usuarioUseCase = usuarioUseCase;
 }
Ejemplo n.º 2
0
 public UsuarioController(IUsuarioUseCase usuarioUseCase)
 {
     useCase = usuarioUseCase ?? throw new ArgumentNullException(nameof(usuarioUseCase));
 }
Ejemplo n.º 3
0
 public LoginController(IUsuarioUseCase usuarioUseCase, IConfiguration configuration)
 {
     useCase = usuarioUseCase ?? throw new ArgumentNullException(nameof(usuarioUseCase));
     config  = configuration ?? throw new ArgumentNullException(nameof(configuration));
 }
Ejemplo n.º 4
0
 public UsuarioUseCaseTest(IUsuarioUseCase usuarioUseCase, IUsersRepository usersRepository)
 {
     this.usuarioUseCase  = usuarioUseCase;
     this.usersRepository = usersRepository;
 }