Created
December 6, 2020 08:39
-
-
Save rahulsahay19/df91da8f03eb109a0f9eef4b32c22623 to your computer and use it in GitHub Desktop.
ApiController
This file contains 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.Mvc; | |
namespace Movies.API.Controllers | |
{ | |
[ApiVersion("1")] | |
[Route("api/v{version:apiVersion}/[controller]")] | |
[ApiController] | |
public class ApiController : ControllerBase | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment