Beispiel #1
0
 public static PizzaWebApp.Models.Inventorydrinks Map(Data.Inventorydrinks inventorydrinks) => new PizzaWebApp.Models.Inventorydrinks
 {
     Storeid             = inventorydrinks.Storeid,
     Drinkname           = inventorydrinks.Drinkname,
     Itemamount          = inventorydrinks.Itemamount,
     Inventdrinkid       = inventorydrinks.Inventdrinkid,
     DrinknameNavigation = Map(inventorydrinks.DrinknameNavigation),
     Store = Map(inventorydrinks.Store),
 };
 public static Library.Inventorydrinks Map(Inventorydrinks inventorydrinks) => new Library.Inventorydrinks
 {
     Storeid       = inventorydrinks.Storeid,
     Drinkname     = inventorydrinks.Drinkname,
     Itemamount    = inventorydrinks.Itemamount,
     Inventdrinkid = inventorydrinks.Inventdrinkid,
     //   DrinknameNavigation = Map(inventorydrinks.DrinknameNavigation),
     ///   Store = Map(inventorydrinks.Store),
 };