public static Client.Models.Customers Map(PizzaLib.Customer customer) { return(new Client.Models.Customers { Customerid = customer.Customerid, Fname = customer.Fname, Lname = customer.Lname, Lastorder = customer.Lastorder }); }
public static Pizza_Data.Models.Customer Map(PizzaLib.Customer customer) { return(new Pizza_Data.Models.Customer() { Id = customer.Id, Fname = customer.Fname, Lname = customer.Lname, Uname = customer.Uname, Pword = customer.Pword, }); }