public static Mods.Location StorelocalMap(Data.Location local) => new Mods.Location { Locationid = local.Locationid, State = local.State, Street = local.Street, City = local.City, };
public static PizzaWebApp.Models.Location Map(Data.Location location) => new PizzaWebApp.Models.Location { Locationid = location.Locationid, State = location.State, Street = location.Street, City = location.City, Pizzastore = Map(location.Pizzastore), Customer = Map(location.Customer).ToList(), Orderdetails = Map(location.Orderdetails).ToList(), };