Build a WebAPI calculator. The requirements are as follows:
The API should have two different controller classes: Basic and Advanced.
The Basic controller should provide the following functionality:
Log(base, parameter) (Hint: remember change of base formula, or find a library)
The Advanced controller should provide the following functionality:
QuadraticEquation(a,b,c): find the roots of f(x) = ax^2+bx+c using quadratic equation
Vertex(a,b): return the vertex of the parabola f(x)= ax^2+bx+c
Slope(x1,y1,x2,y2): return the slope given two points (x1,y1) and (x2,y2)
Random(min, max): return a random integer between min and max
AreaTriangle(base, height): return the area of a triangle with the provided base and height
AreaRectangle(length, width): return the area of a rectangle with the provided length and width
AreaCircle(radius): return the area of a circle with the provided radius
Fibonacci(n): return the nth fibonacci number
Each method should have a POST method and a GET method
The GET method should pass all parameters in the route of the API call
The POST method should pass all parameters as a request class in the body of the API call
There are no requirements about the shape of your request class
You should have a separate client project that is just a console application that provides the user access to each of those methods in any way you see fit with that the user must have access to all 32 methods through the client application.
One way is to simply provide a number-based menu but split the functionality first into Advanced/Basic, then into GET/POST, and finally into the options for each controller.
Hi. This is a very simple C# project and I can finish it for you in less than 24 hours. I am ready to start now, and I will code it as requested, as a simple console application accessing the endpoints. Thank you
5 freelancers are bidding on average $27 for this job
I have understood all the job requirements. Please discuss further details in the chat. Surely I'm the perfect choice for this work. Hoping to get your response back on this. Thank you