public Customer cast2Customer(CustomerCRVM newCustomer) { return(new Customer { customerName = newCustomer.CustomerName, customerPassword = newCustomer.CustomerPassword }); }
public Customer cast2Customer(CustomerCRVM customer2aBCasted) { return(new Customer { Name = customer2aBCasted.Name, Phone = customer2aBCasted.Phone }); }
public Customer cast2Customer(CustomerCRVM customer2BCasted) { return(new Customer { FirstName = customer2BCasted.FirstName, LastName = customer2BCasted.LastName, PhoneNumber = customer2BCasted.PhoneNumber }); }
public Customer cast2Customer(CustomerCRVM customer2BCasted) { return(new Customer { CustomerName = customer2BCasted.CustomerName, PhoneNumber = customer2BCasted.PhoneNumber, CarType = customer2BCasted.CarType }); }
public Customer cast2Customer(CustomerCRVM customer2BCasted) { return(new Customer { CustomerName = customer2BCasted.CustomerName, CustomerEmail = customer2BCasted.CustomerEmail, CustomerPasswordHash = Convert.ToBase64String(new StoreBL.PasswordHash(customer2BCasted.CustomerPasswordHash).ToArray()), CustomerPhone = customer2BCasted.CustomerPhone, CustomerAddress = customer2BCasted.CustomerAddress }); }