✅ [SOLVED] Multiple functions in same controller? ASP.NET Core API
Hello, I would like to have multiple functions in the same api controller with different routes (eg. "api/[controller]/[function], how would I do that?
This is my structure
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Wow, thanks a lot, solved the issue :D
@1FriendlyDoge, if u use just
[HttpPost]
it would automatically map to the name of the method. also use the correct command to $close the thread please:Use the
/close
command to mark a forum thread as answered