http post
This commit is contained in:
parent
ec4b8e389c
commit
47aef96dd5
|
|
@ -1,5 +1,12 @@
|
||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"isRoot": true,
|
"isRoot": true,
|
||||||
"tools": {}
|
"tools": {
|
||||||
|
"dotnet-ef": {
|
||||||
|
"version": "8.0.7",
|
||||||
|
"commands": [
|
||||||
|
"dotnet-ef"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -43,7 +43,7 @@ namespace langguanApi.Controllers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="input"></param>
|
/// <param name="input"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPatch("add")]
|
[HttpPost("add")]
|
||||||
public async Task<IActionResult> Add(Transport input)
|
public async Task<IActionResult> Add(Transport input)
|
||||||
{
|
{
|
||||||
await _transportService.addTransport(input);
|
await _transportService.addTransport(input);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue