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

            var outProductionLine = ProductionLineMapping.ProductionLineToOutDTO(productionLine);

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

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