示例#1
0
        public List <SupplyItem> GetSupplys()
        {
            var result  = new List <SupplyItem>();
            var supplys = supplyRepository.GetItemsList().ToList();

            supplys.ForEach(x => result.Add(ObjectMapper.Supply(x)));
            return(result);
        }