Black November

ATÉ 50% OFF

TÁ ACABANDO!

0 dias

0 horas

0 min

0 seg

1
resposta

[Solved] Ok() and NotFound() methods don't work

Good afternoon guys,

I'm currently learning about API Rest in C# and even following what the teacher says, I can't use the IActionResult derivated method. Neither Ok(); nor NotFound();

Someone to help me? Thanks in advance.

Matricule-se agora e aproveite até 50% OFF

O maior desconto do ano para você evoluir com a maior escola de tecnologia

QUERO APROVEITAR
1 resposta

I found the answer. It was happens because unfurtunally i've forget to sincronises the ControllerBase at my Main class.