Example #1
0
        public async Task <IEnumerable <OutProductionLineDTO> > GetProductionLineAsync()
        {
            var productionLine = await _productionLineRepository.GetAll();

            var outProductionLine = ProductionLineMapping.ProductionLineToOutDTO(productionLine);

            return(outProductionLine);
        }
Example #2
0
 public IEnumerable <ProductionLine> GetProductionLines()
 {
     return(_productionLineRepository.GetAll());
 }
        public Task <GetAllResult <Domain.Production.ProductionLine> > GetAllProductionLines()
        {
            var result = productionLineRepository.GetAll();

            return(result);
        }
Example #4
0
 public async Task <IEnumerable <ProductionLine> > GetProductionLines()
 {
     return(await _productionLineRepository.GetAll());
 }