Example #1
0
        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));
        }
Example #2
0
        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));
        }
Example #3
0
        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));
        }