public ClienteQueryHandlerTest() { var _serviceProvider = new StartInjection().ServiceProvider; _clientQueryHandler = _serviceProvider.GetService <IClientQueryHandler>(); }
public ClienteController(IClienteHandler clienteHandler, IClientQueryHandler clientQueryHandler, IHttpContextAccessor accessor) { _clienteHandler = clienteHandler; _clientQueryHandler = clientQueryHandler; _accessor = accessor; }