Exemple #1
0
 public AgenciaRepository()
 {
     context = new SistemaContext();
 }
Exemple #2
0
 public CategoriasController(SistemaContext context)
 {
     _context = context;
 }
Exemple #3
0
 public JogadoraController()
 {
     ctx = new SistemaContext();
 }
Exemple #4
0
 public ProvidersController(SistemaContext context)
 {
     _context = context;
 }
 public LoginRepository()
 {
     context = new SistemaContext();
 }
 public ComputadorRepository(SistemaContext context)
 {
     this.context = context;
 }
 public LivrosController(SistemaContext context)
 {
     _context = context;
 }
 public MarcaRepository()
 {
     context = new SistemaContext();
 }
 public ParcelaPagarRepository()
 {
     context = new SistemaContext();
 }
Exemple #10
0
 public TarefaRepository()
 {
     context = new SistemaContext();
 }
Exemple #11
0
 //Construtor
 public HospitalRepository()
 {
     //Instancia um objeto da classe sistemacontext que nos
     //permite ter acesso as tabelas do banco de dados
     context = new SistemaContext();
 }
Exemple #12
0
 public PecaRepository(SistemaContext context)
 {
     this.context = context;
 }
Exemple #13
0
        public ClientesController(SistemaContext _context)
        {
            var rep = new ClientesRepository(_context);

            appService = new ClientesService(rep);
        }
Exemple #14
0
 public EstadoRepository()
 {
     context = new SistemaContext();
 }
Exemple #15
0
 public CartaoRepository()
 {
     context = new SistemaContext();
 }
 public UsuarioController()
 {
     ctx = new SistemaContext();
 }
 public CategoriaDespesaRepository()
 {
     context = new SistemaContext();
 }
 public AvaliacoesRepository(SistemaContext context)
 {
     this.context = context;
 }
 public ClienteRepository()
 {
     context = new SistemaContext();
 }
Exemple #20
0
 public ComodidadeRepository(SistemaContext context)
 {
     this.context = context;
 }
Exemple #21
0
 public UsuarioRepository()
 {
     context = new SistemaContext();
 }
Exemple #22
0
 public PersonasController(SistemaContext context)
 {
     _context = context;
 }
Exemple #23
0
 public UsuarioRepositoryEF(SistemaContext db, ILogger <UsuarioRepositoryEF> logger)
 {
     _db     = db;
     _logger = logger;
 }
Exemple #24
0
 public AdministradorRepository()
 {
     this.context = new SistemaContext();
 }
Exemple #25
0
 public SistemaUnitOfWork(SistemaContext context)
 {
     this.context = context;
 }
Exemple #26
0
 public HotelRepository()
 {
     this.context = new SistemaContext();
 }
 public ProdutoRepository()
 {
     context = new SistemaContext();
 }
 public FuncionarioRepository()
 {
     context = new SistemaContext();
 }
Exemple #29
0
 public CategoriaRepository(SistemaContext context)
 {
     this.context = context;
 }
Exemple #30
0
 public TypeProductsController(SistemaContext context)
 {
     _context = context;
 }