Created
July 7, 2021 12:08
-
-
Save kshitijcode/eccddcdd969431f4b2ee8daa81c2952c 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
| [Topic("pubsub", "dapreventhub")] | |
| [HttpPost("/receiver")] | |
| public async Task<IActionResult> Subscriber(WeatherChange weatherChange) | |
| { | |
| // Deserialize incoming order summary | |
| _logger.LogInformation("Received Weather: {@WeatherChange}", weatherChange); | |
| return Ok(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment