コード例 #1
0
        public List <VegetableToppingDTO> GetVegetableToppings()
        {
            var returnList = new List <VegetableToppingDTO>();

            foreach (var item in pssc.GetVegetableToppings())
            {
                returnList.Add(VegetableToppingMapper.MapToDTO(item));
            }

            return(returnList);
        }
コード例 #2
0
 public VegetableToppingDTO GetVegetableTopping(int id)
 {
     return(VegetableToppingMapper.MapToDTO(pssc.GetVegetableTopping(id)));
 }