Exemple #1
0
        public void Updateinventsides(Mods.Inventorysides inventsides)
        {
            var changedsideinvent = Map(inventsides);

            _db.Update(changedsideinvent);
            Save();
        }
Exemple #2
0
 public static Data.Inventorysides Map(PizzaWebApp.Models.Inventorysides inventorysides) => new Data.Inventorysides
 {
     Storeid            = inventorysides.Storeid,
     Sidename           = inventorysides.Sidename,
     Itemamount         = inventorysides.Itemamount,
     Inventsidesid      = inventorysides.Inventsidesid,
     SidenameNavigation = Map(inventorysides.SidenameNavigation),
     Store = Map(inventorysides.Store),
 };