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