public Persistence.Data.WebShopModel.Product CreateProductData(Business.Module.BusinessEntyties.Product product)
 {
     return(new Persistence.Data.WebShopModel.Product
     {
         Description = product.Description,
         IdGender = product.Gender.IdGender,
         IdProduct = product.IdProduct,
         Image = product.Image,
         Price = product.Price,
         ProducName = product.ProducName,
         State = product.State,
         Title = product.Title
     });
 }
        public Business.Module.BusinessEntyties.Product CreatePRoductBOFromData(Persistence.Data.WebShopModel.Product product, List <Category> listCategories)
        {
            var productCategory = new Business.Module.BusinessEntyties.Product
            {
                ListCategories = listCategories,
                Description    = product.Description,
                IdProduct      = product.IdProduct,
                Image          = product.Image,
                Price          = product.Price,
                ProducName     = product.ProducName,
                State          = product.State,
                Title          = product.Title,
                Gender         = new Business.Module.BusinessEntyties.Gender
                {
                    GenderName = product.Gender.GenderName,
                    IdGender   = product.IdGender
                }
            };

            return(productCategory);
        }