| | |
| | | using Microsoft.AspNetCore.Authorization; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Stock; |
| | | using WIDESEA_IBasicRepository; |
| | |
| | | { |
| | | return Service.Repository.GetPalletStockInfo(roadwayNo); |
| | | } |
| | | |
| | | [HttpPost, Route("GetStockDetails"), AllowAnonymous] |
| | | public WebResponseContent GetStockDetails([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.Repository.GetStockDetails(saveModel); |
| | | } |
| | | |
| | | [HttpPost, Route("UpdateGetStockDetails"), AllowAnonymous] |
| | | public WebResponseContent UpdateGetStockDetails([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.Repository.UpdateGetStockDetails(saveModel); |
| | | } |
| | | } |
| | | } |