Skip to content

Repository files navigation

Best TAs Controller - Endpoints

Gianpaolo Reinares

1/13/2025

"Best TAs Controller - Endpoints"

Description:

Make a new web api project in Visual Studio Code and create a new controller with the name BestTAsController. Create these endpoints:

  • Create an endpoint called AddTwoNumbers and pass in two variables using the route.
    • In AddTwoNumbers, take in the variables from the route, add them together, and return the sum.
  • Create an endpoint called ReverseIt and let it pass in 1 variable using the route.
    • In ReverseIt, take in the variable from the route, reverse it, and return the solution.
  • Create an endpoint called SayHello, and let it pass in 1 variable using the route.
    • In SayHello, take in the variable from the route, and return hello + variable.
  • Create another endpoint called SayHelloTwo.
    • Instead of just using a variable in the route, use a "model" to enter in the name.
    • Hint: (new folder/ file, get and set, constructor).

Best TAs Controller - Endpoints_GitHub Repository Link:

Best TAs Controller - Endpoints GitHub Repository Link

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages