public void Renew(ProductFruitsDTO productfruits)
 {
     _dal.Update <C_ProductFruits>(Mapper.Map <C_ProductFruits>(productfruits), true);
 }
        public ProductFruitsDTO Add(ProductFruitsDTO productfruits)
        {
            C_ProductFruits FruitResult = _dal.Insert <C_ProductFruits>(Mapper.Map <C_ProductFruits>(productfruits));

            return(Mapper.Map <ProductFruitsDTO>(FruitResult));
        }