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.

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta

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