Exemplo n.º 1
0
        public async void ShouldGetCashBackAsync()
        {
            string status  = "200";
            var    command = await _service.GetCashBackAsync("12312312323");

            Assert.NotNull(command);
            Assert.Equal(command.StatusCode, status);
        }
 public async Task <IActionResult> CashBack(string cpf)
 {
     return(Ok(await _service.GetCashBackAsync(cpf)));
 }