DigipostClientLibWebapp.Controllers.IdentifyController.IdentifyByNameAndAddress C# (CSharp) 메소드

IdentifyByNameAndAddress() 공개 메소드

public IdentifyByNameAndAddress ( IdentifyModel identifyModel ) : Task
identifyModel DigipostClientLibWebapp.Models.IdentifyModel
리턴 Task
        public async Task<ActionResult> IdentifyByNameAndAddress(IdentifyModel identifyModel)
        {
            var identification = new Identification(new RecipientByNameAndAddress(identifyModel.FullName, identifyModel.AddressLine1, identifyModel.PostalCode, identifyModel.City));
            
            var result = await _digipostService.Identify(identification);
            
            return PartialView("IdentificationResult", result);
        }
    }