public List <SizeDTO> GetSizes() { var returnList = new List <SizeDTO>(); foreach (var item in pssc.GetSizes()) { returnList.Add(SizeMapper.MapToDTO(item)); } return(returnList); }
public SizeDTO GetSize(int id) { return(SizeMapper.MapToDTO(pssc.GetSize(id))); }