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