Building a REST API Controller #14
Divinely5782
started this conversation in
General
Replies: 1 comment
-
I guess the problem is that you cast the gates to integer. For example, the Gate 17 has the integer number 0, because I ordered the gates along the zodiac, not by there number. What you really want is to use the extension method ToNumber() on the gate. So change |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! Cristian @CReizner i am trying to build a rest api controller with AI becuase knowledge in C# is zero)) A json response seems to be ok, but it prints incorrect active channels. Can you please give some direction on how to change code to receive correct channels?
code of my controller:
Beta Was this translation helpful? Give feedback.
All reactions