Beispiel #1
0
        public static Data.Entities.Topping Map(Domain.Topping dmTopping)
        {
            Data.Entities.Topping deTopping = new Entities.Topping();
            deTopping.Toppingid = dmTopping.Toppingid;
            deTopping.Tpizzaid  = dmTopping.Tpizzaid;
            deTopping.Topping1  = dmTopping.Topping1;

            return(deTopping);
        }
 public Domain.Models.Topping Map(Entities.Topping Topping)
 {
     return(new Domain.Models.Topping
     {
         ID = Topping.ID,
         Name = Topping.Name,
         Price = Topping.Price
     });
 }