public void Setup() { //optionsBuilder.UseMySql(@"Server=localhost; database=cempredb;uid=acceso;pwd=acceso;"); var optionsInMemory = new DbContextOptionsBuilder <CempreContext>().UseInMemoryDatabase("CempreE").Options; _context = new CempreContext(optionsInMemory); _unitOfWork = new UnitOfWork(_context); }
public UsuarioController(CempreContext context, IOptions <AppSetting> appSetting) { _usuarioService = new UsuarioService(context); _jwtService = new JWTService(appSetting); }
public EstudiantesController(CempreContext context) { _context = context; _unitOfWork = new UnitOfWork(_context); }
public UsuarioService(CempreContext context) { _context = context; }
public HojaDeVidaService(CempreContext context) { _context = context; }
public PracticasController(CempreContext context) { _context = context; _unitOfWork = new UnitOfWork(_context); }
public UsuarioController(CempreContext context) { _usuarioService = new UsuarioService(context); }
public AdminsController(CempreContext context) { _context = context; _unitOfWork = new UnitOfWork(_context); }
public SolicitudesController(CempreContext context) { _context = context; _unitOfWork = new UnitOfWork(_context); }
public ConveniosController(CempreContext context) { _context = context; _unitOfWork = new UnitOfWork(_context); }
public HojaDeVidaController(CempreContext context) { _hojaDeVidaService = new HojaDeVidaService(context); }