public static Data.Location StorelocalMap(Mods.Location local) => new Data.Location { Locationid = local.Locationid, State = local.State, Street = local.Street, City = local.City, };
public void Updatedeflocal(Mods.Location local) { var newlocal = CustomlocalMap2(local); _db.Update(newlocal); Save(); }
public static Data.Location Map(PizzaWebApp.Models.Location location) => new Data.Location { Locationid = location.Locationid, Street = location.Street, State = location.State, City = location.City, Pizzastore = Map(location.Pizzastore), Customer = Map(location.Customer).ToList(), Orderdetails = Map(location.Orderdetails).ToList(), };
public void Createlocal(Mods.Location local) { _db.Add(Map(local)); Save(); }