Beispiel #1
0
 public void Do(Request request)
 {
     _sessionManager.AddCustomerInformation(new CustomerInformation {
         FirstName   = request?.FirstName,
         LastName    = request?.LastName,
         Email       = request?.Email,
         PhoneNumber = request?.PhoneNumber,
         Address1    = request?.Address1,
         Address2    = request?.Address2,
         City        = request?.City,
         PostCode    = request?.PostCode
     });
 }
 public void Exec(CustomerInformationDto customerInformationDto)
 {
     _sessionManager.AddCustomerInformation(new CustomerInformation
     {
         FirstName   = customerInformationDto.FirstName,
         LastName    = customerInformationDto.LastName,
         Email       = customerInformationDto.Email,
         PhoneNumber = customerInformationDto.PhoneNumber,
         Address     = customerInformationDto.Address,
         City        = customerInformationDto.City,
         PostCode    = customerInformationDto.PostCode
     });
 }
Beispiel #3
0
 public void Do(Request request)
 {
     _sessionManager.AddCustomerInformation(new CustomerInformation
     {
         FirstName   = request.FirstName,
         LastName    = request.LastName,
         Address1    = request.Address1,
         Address2    = request.Address2,
         City        = request.City,
         State       = request.State,
         Zipcode     = request.Zipcode,
         Email       = request.Email,
         PhoneNumber = request.PhoneNumber
     });
 }