Created
December 17, 2020 18:47
-
-
Save AbubakarSiddiq/a75a5625d6b5c109b26325d460eda0ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Mvc; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace AspNetCore5WebAPIVersioning.Controllers | |
{ | |
[Route("api/[controller]")] | |
[ApiController] | |
public class BookController : ControllerBase | |
{ | |
[HttpGet] | |
public string Get() | |
{ | |
return "This string is for testing"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment