DigipostClientLibWebapp.Controllers.IdentifyController.IdentifyById C# (CSharp) Method

IdentifyById() public method

public IdentifyById ( IdentifyModel identifyModel ) : Task
identifyModel DigipostClientLibWebapp.Models.IdentifyModel
return Task
        public async Task<ActionResult> IdentifyById(IdentifyModel identifyModel)
        {
            var identification = new Identification(new RecipientById(identifyModel.IdentificationType, identifyModel.IdentificationValue));
            
            var result = await _digipostService.Identify(identification);

            return PartialView("IdentificationResult", result);
        }