public bool GetTrayInfoByTrayIDForOutStock(Barcode_Model Barcode_Model, ref Tray_Model tray) { bool isResult = false; Tray_DB trayDB = new Tray_DB(); isResult = trayDB.GetTrayInfoByTrayID2(Barcode_Model, ref tray); return(isResult); }
public bool UpdateTrayInfo(Barcode_Model Barcode_Model) { bool isResult = false; Tray_DB trayDB = new Tray_DB(); string strErrMsg = string.Empty; isResult = trayDB.UpdateTrayInfo(Barcode_Model); return(isResult); }
public string UpdateTrayInfoPro(string BarcodeInfo) { Barcode_Model barcodeMdl = new Barcode_Model(); barcodeMdl = JSONUtil.JSONHelper.JsonToObject <Barcode_Model>(BarcodeInfo); bool isResult = false; Tray_DB trayDB = new Tray_DB(); string strErrMsg = null; isResult = trayDB.UpdateTrayInfoPro(barcodeMdl, ref strErrMsg); return(GetReturnJson(isResult, barcodeMdl, strErrMsg)); }