public async Task <IActionResult> SearchStockInPaginer([FromQuery] SearchStockInModel model) { reqmodel <SearchStockInModel> reqmodel = await RequestPackingAsync(model); IStockServer stockServer = new StockServerImpl(g_dbHelper, g_logServer); return(await stockServer.SearchStockInPaginerAsync(reqmodel)); }
public async Task <IActionResult> GetStockInDetail([FromQuery] StockInDetailModel model) { if (!ModelState.IsValid) { return(GetModelErrorCode()); } reqmodel <StockInDetailModel> reqmodel = await RequestPackingAsync(model); IStockServer stockServer = new StockServerImpl(g_dbHelper, g_logServer); return(await stockServer.GetStockInDetailAsync(reqmodel)); }
public async Task <IActionResult> StockInAudit([FromBody] AuditModel model) { if (!ModelState.IsValid) { return(GetModelErrorCode()); } reqmodel <AuditModel> reqmodel = await RequestPackingAsync(model); IStockServer stockServer = new StockServerImpl(g_dbHelper, g_logServer); return(await stockServer.StockInAuditAsync(reqmodel)); }