Last active
May 14, 2019 08:51
-
-
Save vmandic/4e645ee5041ce53354a8bfa846764326 to your computer and use it in GitHub Desktop.
meds-processor, part/4, snippet #6
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.Mvc; | |
| namespace MedsProcessor.WebAPI.Controllers | |
| { | |
| [ApiController, Route("api)"] | |
| [Consumes("application/json"), Produces("application/json")] | |
| [ProducesResponseType(406), ProducesResponseType(426)] | |
| [ProducesResponseType(200), ProducesResponseType(400), ProducesResponseType(500)] | |
| public abstract class ApiControllerBase : ControllerBase { } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment