Ejemplo n.º 1
0
 public static Library.Customer Map(Entities.Customer customer) => new Library.Customer
 {
     CustomerId   = customer.CustomerId,
     FirstName    = customer.FirstName,
     LastName     = customer.LastName,
     DefaultStore = Map(customer.DefaultStoreNavigation)
 };
Ejemplo n.º 2
0
 public static Library.Model.Customer Map(Entities.Customer customer) => new Library.Model.Customer
 {
     CustomerID = customer.CustomerId,
     FirstName  = customer.FirstName,
     LastName   = customer.LastName
 };