public static VegetableDTO MapToDTO(VegetableDAO vegetable)
        {
            var v = new VegetableDTO();

            v.Id     = vegetable.Id;
            v.Name   = vegetable.Name;
            v.Active = vegetable.Active;

            return(v);
        }
 public bool DeleteVeDeleteable(VegetableDTO item)
 {
     return(pssc.DeleteVegetable(VegetableMapper.MapToDAO(item)));
 }
 public bool InsertVegetable(VegetableDTO item)
 {
     return(pssc.InsertVegetable(VegetableMapper.MapToDAO(item)));
 }
 public bool ChangeVeChangeable(VegetableDTO item)
 {
     return(pssc.ChangeVegetable(VegetableMapper.MapToDAO(item)));
 }