public InsumoEntity GetById( Guid id, [FromServices] IInsumoRepository repository ) { return(repository.GetById(id)); }
public InsumoController(IInsumoRepository insumoRepository, IHttpContextAccessor httpContextAccessor, IHostingEnvironment hostingEnvironment) { _insumoRepository = insumoRepository; _httpContextAccessor = httpContextAccessor; _hostingEnvironment = hostingEnvironment; }
public InsumoController( IInsumoRepository insumoRepository, IMapper mapper, IOptions <AppSettings> appSettings) { // _usuarioRepository = userRepository; _insumoRepository = insumoRepository; _mapper = mapper; _appSettings = appSettings.Value; }
public ProduccionRepository(DataContext context, IEmpleadoProduccionRepository empleadoProduccionRepository, IFaseRepository faseRepository, IPedidoRepository pedidoRepository, IInsumoRepository insumoRepository, IInsumoUsadoRepository insumoUsadoRepository) : base(context) { this.context = context; this.empleadoProduccionRepository = empleadoProduccionRepository; this.faseRepository = faseRepository; this.pedidoRepository = pedidoRepository; this.insumoRepository = insumoRepository; this.insumoUsadoRepository = insumoUsadoRepository; }
public ConverterHelper( DataContext dataContext, ICombosHelper combosHelper, IFaseRepository faseRepository, IEmpleadoProduccionRepository empleadoProduccionRepository, IUserHelper userHelper, IPedidoRepository pedidoRepository, IInsumoRepository insumoRepository, IProduccionRepository produccionRepository) { _dataContext = dataContext; _combosHelper = combosHelper; this.faseRepository = faseRepository; this.empleadoProduccionRepository = empleadoProduccionRepository; this.userHelper = userHelper; this.pedidoRepository = pedidoRepository; this.insumoRepository = insumoRepository; this.produccionRepository = produccionRepository; }
public InsumoService(IInsumoRepository insumoRepository, IAgendaManutencaoRepository agendaManutRepository) { _insumoRepository = insumoRepository; _agendaManutRepository = agendaManutRepository; }
public InsumosController(IInsumoRepository insumoRepository) { this.insumoRepository = insumoRepository; }
public ManutencaoService(IManutencaoRepository manutencaoRepository, IInsumoRepository insumoRepository, IAgendaManutencaoRepository agendaManutRepository) { _manutencaoRepository = manutencaoRepository; _agendaManutRepository = agendaManutRepository; _insumoRepository = insumoRepository; }
public InsumosProcessor(IInsumoRepository insumosRepository) { _insumoRepository = insumosRepository; }
public IList <InsumoEntity> GetAllInativos( [FromServices] IInsumoRepository repository ) { return(repository.GetAllInativos()); }
public IList <InsumoEntity> GetAllEmManutencao( [FromServices] IInsumoRepository repository ) { return(repository.GetAllEmManutencao()); }