Last active
June 22, 2020 21:08
-
-
Save ankitvijay/93d566082542684e77d333eedd7a6fd1 to your computer and use it in GitHub Desktop.
Part 3 - TransactionController
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
[ApiController] | |
[Route("[controller]")] | |
public class TransactionController : ControllerBase | |
{ | |
[HttpGet] | |
[Route("code")] | |
public string Get(PaymentType paymentType) | |
{ | |
return paymentType.Code; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment