public static Customer Map(CustomerAccountInfo cust) => new Customer { FirstName = cust.Firstname, LastName = cust.Lastname, Add1 = cust.Address1, Add2 = cust.Address2, City = cust.City, State = cust.State, Country = cust.Country, ZipCode = cust.Zipcode, Username = cust.Username, Password = cust.Password, CustID = Convert.ToString(cust.CustomerId) };
public void Add(CustomerAccountInfo Account) { Custommeraccountinfo.AddLast(Account); }