public List <SupplyItem> GetSupplys() { var result = new List <SupplyItem>(); var supplys = supplyRepository.GetItemsList().ToList(); supplys.ForEach(x => result.Add(ObjectMapper.Supply(x))); return(result); }
public List <SupplyItem> GetSupplys() { var result = new List <SupplyItem>(); var supplys = supplyRepository.GetItemsList().ToList(); supplys.ForEach(x => result.Add(ObjectMapper.Supply(x))); return(result); }