Пример #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
     });
 }
Пример #2
0
 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
     });
 }
Пример #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
     });
 }