public void ObterSeguro() { string CPF = "00000000191"; CommandResult result = _handler.ObterSeguro(CPF); Assert.AreNotEqual(null, result); }
public IActionResult ObterSeguro(string CPF) { var result = (CommandResult)_handler.ObterSeguro(CPF); return(Ok(result.Value)); }