public RealizarCadastroDeUmClienteSteps(ScenarioContext context) { var _serviceProvider = new StartInjection().ServiceProvider; _clienteRepository = _serviceProvider.GetService <IClienteRepository>(); _dataStart = _serviceProvider.GetService <IDataStart>(); _context = context; }
public ConsultarUsuariosSteps(ScenarioContext context) { var _serviceProvider = new StartInjection().ServiceProvider; _dataStart = _serviceProvider.GetService <IDataStart>(); _userHandler = _serviceProvider.GetService <IUserHandler>(); _context = context; }
public RealizarCadastroDroneSteps(ScenarioContext context) { var _serviceProvider = new StartInjection().ServiceProvider; _droneRepository = _serviceProvider.GetService <IDroneRepository>(); _dataStart = _serviceProvider.GetService <IDataStart>(); // Popula base de dados _context = context; }
public RealizarLoginParaAutenticarNoSistemaSteps(ScenarioContext context) { var _serviceProvider = new StartInjection().ServiceProvider; _loginHandler = _serviceProvider.GetService <ILoginHandler>(); _dataStart = _serviceProvider.GetService <IDataStart>(); // Popula base de dados //_dataStart.Seed(); _context = context; }