Exemplo n.º 1
0
 public PsicologoCommandHandler(IPsicologoRepository psicologoRepository, IIdentityService identityService, IMediator mediator, ILogger <PacienteCommandHandler> logger)
 {
     _psicologoRepository = psicologoRepository ?? throw new ArgumentNullException(nameof(psicologoRepository));
     _identityService     = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _mediator            = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemplo n.º 2
0
 public PacientesController(IConfiguration configuration,
                            IPacienteRepository pacienteRepository,
                            IPsicologoRepository psicologoRepository)
 {
     this._configuration       = configuration;
     this._pacienteRepository  = pacienteRepository;
     this._psicologoRepository = psicologoRepository;
 }
Exemplo n.º 3
0
 public TerapeutaController(IConfiguration configuration,
                            ICommonRepository commonRepository,
                            IPsicologoRepository psicologoRepository)
 {
     this._configuration       = configuration;
     this._commonRepository    = commonRepository;
     this._psicologoRepository = psicologoRepository;
 }
Exemplo n.º 4
0
 public PsicologoController(IPsicologoRepository psicologoRepository, IMediator mediator, ILogger <PsicologoController> logger)
 {
     _psicologoRepository = psicologoRepository ?? throw new ArgumentNullException(nameof(psicologoRepository));
     _mediator            = mediator ?? throw new ArgumentNullException(nameof(mediator));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Exemplo n.º 5
0
 public PsicologoController(IPsicologoRepository psicologoRepository)
 {
     this._psicologoRepository = psicologoRepository;
 }
 public PacientesController(PsiContext context, IPacienteRepository pacienteRepository, IPsicologoRepository psicologoRepository)
 {
     _context             = context;
     _pacienteRepository  = pacienteRepository;
     _psicologoRepository = psicologoRepository;
 }
 public PsicologosController(IPacienteRepository pacienteRepository, IPsicologoRepository psicologoRepository)
 {
     _pacienteRepository  = pacienteRepository;
     _psicologoRepository = psicologoRepository;
 }