Example #1
0
 private void MapCore()
 {
     _extracter.Setup(_code);
     _result = new CodeDto();
     _result.ApplicationIdentifier = _extracter.ExtractApplicationIdentifier();
     _result.Serial = _extracter.ExtractSerialNumber();
     _result.Identifier = _extracter.ExtractIdentifier();
     _result.SupplierCode = _extracter.ExtractSupplier();
     _result.CountryCode = _extracter.ExtractCountryCode();
 }
Example #2
0
 private void MapCore()
 {
     _extracter.Setup(_code);
     _result = new CodeDto();
     _result.ApplicationIdentifier = _extracter.ExtractApplicationIdentifier();
     _result.Serial       = _extracter.ExtractSerialNumber();
     _result.Identifier   = _extracter.ExtractIdentifier();
     _result.SupplierCode = _extracter.ExtractSupplier();
     _result.CountryCode  = _extracter.ExtractCountryCode();
 }
Example #3
0
 public virtual string Create(CodeDto dto)
 {
     _codeDto = dto;
     CreateCore();
     return _result;
 }
Example #4
0
 public virtual string Create(CodeDto dto)
 {
     _codeDto = dto;
     CreateCore();
     return(_result);
 }