Пример #1
0
 public VentaController(ApplicationDbContext context, IDetalleRepository detalle, IProductoRepository producto, ITrabajadorRepository usuario, IVentaRepository venta, IDetalleRepository Detalle)
 {
     _context                = context;
     detalleRepository       = detalle;
     productoRepository      = producto;
     repositorioTrabajadores = usuario;
     ventaRepository         = venta;
     repositorioDetalle      = detalle;
 }
Пример #2
0
 public PersonaRepository(ClinicaServiceContext context, IMedicoRepository medicorepository,
                          IEmpleadoRepository empleadoRepository, IPacienteRepository pacienteRepository, IDetalleRepository detalleRepository
                          , IUsuarioRepository usuarioRepository)
 {
     _context            = context;
     _medicoRepository   = medicorepository;
     _empleadoRepository = empleadoRepository;
     _pacienteRepository = pacienteRepository;
     _detalleRepository  = detalleRepository;
     _usuarioRepository  = usuarioRepository;
 }
Пример #3
0
 public CronogramaController(ClinicaServiceContext clinicaService,
                             ICronogramaRepository cronograma,
                             IUtilRepository utilRepository,
                             IMedicoRepository medicoRepository,
                             IDetalleRepository detalleRepository)
 {
     _context             = clinicaService;
     cronogramaRepository = cronograma;
     _utilrepository      = utilRepository;
     _medicorepository    = medicoRepository;
     _detalleRepository   = detalleRepository;
 }
Пример #4
0
 public GetDetalleQueryHandler(IDetalleRepository detalleRepository)
 {
     _detalleRepository = detalleRepository;
 }
 public DeleteDetalleCommandHandler(IDetalleRepository repository, IUnitOfWork unitOfWork)
 {
     _repository = repository;
     _unitOfWork = unitOfWork;
 }
Пример #6
0
 public CreateDetalleCommandHandler(IDetalleRepository detalleRepository, IUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _Repository = detalleRepository;
 }
Пример #7
0
 public TablasController(IGeneralRepository generalrepo, IDetalleRepository detallerepo)
 {
     _generalRepository = generalrepo;
     _detalleRepository = detallerepo;
 }
Пример #8
0
 public ListDetallesQueryHandler(IDetalleRepository detalleRepository)
 {
     _detalleRepository = detalleRepository;
 }