asp.net-core-web-api

Createed a project with 5 API methods

  1. Get - IActionResult Add(int first, int second)

  2. Post - IActionResult Multiply(int first, int second)

  3. Put - IActionResult Subtract(int first, int second)

  4. Put - IActionResult Delete(int first, int second)

  5. Get - IActionResult GetData() - should return List

    class Person { public int Id { get; set; } public string Name { get; set; } }

It will work in dotnet5.0 and in this project, there are total 5 Web APIs.

image

As we can see in the above image the task of that 5 APIs.