Ejemplo n.º 1
0
 public static Library.Product MapI(Iproduct product) => new Library.Product
 {
     Id    = product.Id,
     Name  = product.Name,
     Price = (float)product.Price
 };
Ejemplo n.º 2
0
 public static Models.Product MapI(Iproduct product) => new Models.Product
 {
     Id    = product.Id,
     Name  = product.Name,
     Price = (float)product.Price
 };