Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Marat Pavlov
/
AlexAdapter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c276761c
authored
Mar 06, 2022
by
Alex Nasyr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tr
parent
6124026f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
DDO_Application/Controllers/apiController.cs
DDO_Application/Controllers/apiController.cs
View file @
c276761c
...
...
@@ -44,13 +44,6 @@ namespace DDO_Application.Controllers {
await
_messageProducer
.
PublishAsync
(
@event
);
return
StatusCode
((
int
)
HttpStatusCode
.
Created
,
null
);
}
[
HttpPost
]
[
Route
(
"[controller]/sendanothermsg/{msg}"
)]
public
async
Task
<
IActionResult
>
SendAnotherMessage
(
string
msg
)
{
var
@event
=
new
OneMoreTestMessage
{
Id
=
2
,
Message
=
msg
};
await
_messageProducer
.
PublishAsync
(
@event
);
return
StatusCode
((
int
)
HttpStatusCode
.
Created
,
null
);
}
}
public
class
apiStatus
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment