コード例 #1
0
 public static Data.Orderedsides Map(PizzaWebApp.Models.Orderedsides orderedsides) => new Data.Orderedsides
 {
     Orderedsidesid     = orderedsides.Orderedsidesid,
     Orderid            = orderedsides.Orderid,
     Sidename           = orderedsides.Sidename,
     Sideqty            = orderedsides.Sideqty,
     Sidescost          = orderedsides.Sidescost,
     SidenameNavigation = Map(orderedsides.SidenameNavigation),
     Order = Map(orderedsides.Order),
 };
コード例 #2
0
 public void Createsideorder(Mods.Orderedsides sideorder)
 {
     _db.Add(Map(sideorder));
     Save();
 }