private Customer4(Guid customerId, string firstName, string lastName, string middleName, string title, Address3 address, DateTime dateOfBirth, CountryCode countryOfBirth, string idDocumentType, string idDocumentNumber, string vatNumber, CountryCode vatCountry, IAddressRepository4 addressRepository) : this(customerId, firstName, lastName, middleName, title, address, dateOfBirth, countryOfBirth, idDocumentType, idDocumentNumber, vatNumber, vatCountry) { _addressRepository = addressRepository; }
public static OperationResult <Customer4> Create(Guid customerId, string firstName, string lastName, string middleName, string title, Address3 address, DateTime dateOfBirth, CountryCode countryOfBirth, string idDocumentType, string idDocumentNumber, string vatNumber, CountryCode vatCountry, IAddressRepository4 addressRepository ) { return(OperationResult <Customer4> .Success(new Customer4(customerId, firstName, lastName, middleName, title, address, dateOfBirth, countryOfBirth, idDocumentType, idDocumentNumber, vatNumber, vatCountry ))); }
private Customer4(Guid customerId, string firstName, string lastName, string middleName, string title, Address3 address, DateTime dateOfBirth, CountryCode countryOfBirth, string idDocumentType, string idDocumentNumber, string vatNumber, CountryCode vatCountry) { CustomerId = customerId; FirstName = firstName; LastName = lastName; MiddleName = middleName; Title = title; Address = address; DateOfBirth = dateOfBirth; CountryOfBirth = countryOfBirth; IdDocumentType = idDocumentType; IdDocumentNumber = idDocumentNumber; VatNumber = vatNumber; VatCountry = vatCountry; }
public async Task ChangeCustomerAddress(Address3 address) { }