| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Outbound; |
| | |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("NoStockOutSubmit"), AllowAnonymous] |
| | | public WebResponseContent NoStockOutSubmit([FromBody] NoStockOutSubmit noStockOutSubmit) |
| | | public async Task<WebResponseContent> NoStockOutSubmit([FromBody] NoStockOutSubmit noStockOutSubmit) |
| | | { |
| | | return Service.NoStockOutSubmit(noStockOutSubmit); |
| | | return await Service.NoStockOutSubmit(noStockOutSubmit); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("GetPurchaseOrderByBarcode"), AllowAnonymous] |
| | | public WebResponseContent GetPurchaseOrderByBarcode(string barcode) |
| | | { |
| | | return Service.GetPurchaseOrderByBarcode(barcode); |
| | | } |
| | | } |
| | | } |