public List <MeatDAO> GetMeats() { var returnList = new List <MeatDAO>(); foreach (var item in data.GetMeats()) { returnList.Add(MeatMapper.MapToMeatDAO(item)); } return(returnList); }
public MeatDAO GetMeat(int id) { return(MeatMapper.MapToMeatDAO(data.GetMeat(id))); }