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