示例#1
0
 public static Mods.Location StorelocalMap(Data.Location local) => new Mods.Location
 {
     Locationid = local.Locationid,
     State      = local.State,
     Street     = local.Street,
     City       = local.City,
 };
示例#2
0
 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(),
 };