public List <VegetableToppingDTO> GetVegetableToppings() { var returnList = new List <VegetableToppingDTO>(); foreach (var item in pssc.GetVegetableToppings()) { returnList.Add(VegetableToppingMapper.MapToDTO(item)); } return(returnList); }
public VegetableToppingDTO GetVegetableTopping(int id) { return(VegetableToppingMapper.MapToDTO(pssc.GetVegetableTopping(id))); }