public CajaService(ScmContext context, CajaRepositorio cajaRepositorio, RegistroValeRepository registroVale, RegistroFacturaRepository registroFactura) { _cajaRepositorio = cajaRepositorio; _registroFactura = registroFactura; _RegistroVale = registroVale; _context = context; }
public UserService(IOptions <AppSettings> appSettings, IMapper mapper, ScmContext context, UserRepository userRepository) { _appSettings = appSettings.Value; _userRepository = userRepository; _context = context; _mapper = mapper; }
public BoardService(ScmContext context, BoardRepository boardRepository, UserRepository userRepository, IMapper mapper) { _userRepository = userRepository; _boardRepository = boardRepository; _context = context; _mapper = mapper; }
public UserController(UserRepository userRepository, ScmContext scmContext, IMapper mapper, UserService userService) { _userRepository = userRepository; _scmContext = scmContext; _mapper = mapper; _userService = userService; }
public FacturaController(FacturaService ValeService, IMapper mapper, FacturaRepository facturaRepository, ScmContext context) { _valeService = ValeService; _mapper = mapper; _facturaRepository = facturaRepository; _context = context; }
public MaestrosService(ScmContext context, IMapper mapper, MaestrosRepository maestrosRepository, HorariosRepository horarioRepository) { _context = context; _mapper = mapper; _maestrosRepository = maestrosRepository; _horarioRepository = horarioRepository; }
public FacturaService(ScmContext context, FacturaRepository facturaRepository, ValeRepository valeRepository, RetencionRepository retencionRepository) { _valeRepository = valeRepository; _facturaRepository = facturaRepository; _retencionRepository = retencionRepository; _context = context; }
public MaestrosController(MaestrosRepository maestrosRepository, MaestrosService maestrosService, ScmContext scmContext, IMapper mapper) { _maestrosRepository = maestrosRepository; _scmContext = scmContext; _mapper = mapper; _maestrosService = maestrosService; }
public EmpleadoController(EmpleadoRepository repository, ScmContext context, IMapper mapper) { empleadoRepository = repository; _context = context; _mapper = mapper; Console.WriteLine($"asdasdsad {repository.ToString()}"); }
public ValesController(ValeRepository repository, ScmContext context, IMapper mapper) { ValeRepository = repository; _context = context; _mapper = mapper; Console.WriteLine($"asdasdsad {repository.ToString()}"); }
public CajaController(CajaRepositorio _cajaRepositorio, ScmContext _context, IMapper _mapper, RegistroFacturaRepository registroFacturaRepository, RegistroValeRepository registroValeRepository) { this._cajaRepositorio = _cajaRepositorio; this._context = _context; this._mapper = _mapper; _registroVales = registroValeRepository; _registroFactura = registroFacturaRepository; }
public AccountController(UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, IConfiguration configuration, JwtSettings jwtSettings, RoleManager <AppRole> roleManager, IMapper mapper, CuentaRepository cuentaRepository, ScmContext context) { _userManager = userManager; _signInManager = signInManager; _configuration = configuration; _jwtSettings = jwtSettings; _roleManager = roleManager; _mapper = mapper; _cuentaRepository = cuentaRepository; _context = context; }
public void Test1() { using (var ctxt = new ScmContext()) { var partName = "Sample" + DateTime.Now.ToString("HHmmss"); var part = new PartType() { Name = partName }; ctxt.Parts.Add(part); ctxt.SaveChanges(); var getPart = ctxt.Parts.Single( p => p.Name == partName); Assert.Equal(getPart.Name, part.Name); ctxt.Parts.Remove(getPart); ctxt.SaveChanges(); getPart = ctxt.Parts.FirstOrDefault( p => p.Name == partName); Assert.Null(getPart); } }
public HorariosController(HorariosRepository horariosRepository, ScmContext context, IMapper mapper) { _context = context; _mapper = mapper; _horariosRepository = horariosRepository; }
public FacturaService(ScmContext context, ValeRepository valeRepository, RegistroValeRepository registroValeRepository) { _registroValeRepository = registroValeRepository; _valeRepository = valeRepository; _context = context; }
public RetencionesController(RetencionesRepository _retencionesRepository, ScmContext _context, IMapper _mapper) { RetencionesRepository = _retencionesRepository; Context = _context; Mapper = _mapper; }
public HorariosRepository(ScmContext context) : base(context) { }
public UnitTest1(SampleScmDataFixture fixture) { this.fixture = fixture; this.context = new ScmContext(fixture.Connection); }
public BaseRepository(ScmContext context) { _context = context; _dbSet = _context.Set <TEntity>(); }
public UnitTest2(SampleScmDataFixture fixture, ITestOutputHelper output) { this.fixture = fixture; this.context = new ScmContext(fixture.Connection); this.output = output; }
public EstudiantesRepository(ScmContext context) : base(context) { }
public FacturaController(FacturaService facturaService, FacturaService valeService, IMapper mapper, ScmContext context) { _facturaService = facturaService; _mapper = mapper; _context = context; }
public UserRepository(ScmContext context) : base(context) { _scmContext = context; _dbSet = _context.Set <User>(); }
public ValeRepository(ScmContext context) { _context = context; _dbSet = _context.Set <Vale>(); }
public EmpleadoRepository(ScmContext context) : base(context) { }
public TableCreationTest(SampleScmDataFixture fixture) { _fixture = fixture; _context = new ScmContext(fixture.Connection); }
public RetencionRepository(ScmContext context) : base(context) { }
public EmpleadoController(EmpleadoRepository _EmpleadoRepository, ScmContext _context, IMapper _mapper) { this._EmpleadoRepository = _EmpleadoRepository; this._context = _context; this._mapper = _mapper; }
public ValeRepository(ScmContext context) : base(context) { }
public RegistroValeRepository(ScmContext context) : base(context) { }