public List <MeatDAO> GetMeats()
        {
            var returnList = new List <MeatDAO>();

            foreach (var item in data.GetMeats())
            {
                returnList.Add(MeatMapper.MapToMeatDAO(item));
            }

            return(returnList);
        }
        public List <MeatDTO> GetMeats()
        {
            var returnList = new List <MeatDTO>();

            foreach (var item in pssc.GetMeats())
            {
                returnList.Add(MeatMapper.MapToDTO(item));
            }

            return(returnList);
        }
 public bool InsertMeat(MeatDAO meat)
 {
     return(data.InsertMeat(MeatMapper.MapToMeat(meat)));
 }
 public bool ChangeMeat(MeatDAO meat)
 {
     return(data.ChangeMeat(MeatMapper.MapToMeat(meat)));
 }
 public MeatDAO GetMeat(int id)
 {
     return(MeatMapper.MapToMeatDAO(data.GetMeat(id)));
 }
 public bool DeleteMeat(MeatDAO meat)
 {
     return(data.DeleteMeat(MeatMapper.MapToMeat(meat)));
 }
 public bool InsertMeat(MeatDTO item)
 {
     return(pssc.InsertMeat(MeatMapper.MapToDAO(item)));
 }
 public bool DeleteMeat(MeatDTO item)
 {
     return(pssc.DeleteMeat(MeatMapper.MapToDAO(item)));
 }
 public bool ChangeMeat(MeatDTO item)
 {
     return(pssc.ChangeMeat(MeatMapper.MapToDAO(item)));
 }
 public MeatDTO GetMeat(int id)
 {
     return(MeatMapper.MapToDTO(pssc.GetMeat(id)));
 }