Ejemplo n.º 1
0
 public void copyData(ButterCMS.Models.Page <MainPage> mainPage)
 {
     this.SEO              = mainPage.Fields.SEO;
     this.Hero             = mainPage.Fields.Hero;
     this.CuisineQuickMenu = mainPage.Fields.CuisineQuickMenu;
     this.CookingFeed      = mainPage.Fields.CookingFeed;
 }
Ejemplo n.º 2
0
 public void copyData(ButterCMS.Models.Page <DishPage> dishPage)
 {
     this.SEO             = dishPage.Fields.SEO;
     this.Slug            = dishPage.Slug;
     this.DishTitle       = dishPage.Fields.DishTitle;
     this.DishRating      = dishPage.Fields.DishRating;
     this.DishCuisine     = dishPage.Fields.DishCuisine;
     this.DishImage       = dishPage.Fields.DishImage;
     this.DishDescription = dishPage.Fields.DishDescription;
     this.DishRecipe      = dishPage.Fields.DishRecipe;
 }