public bool DeleteSpecialOrderBatch(SO_BatchWPF SoBatch_WPF) { try { bool rtn = lck.DeleteSpecialOrderBatch(SoBatch_WPF.Id); return(rtn); } catch (Exception ex) { Log("DeleteSpcialOrderBatch(SO_BatchWPF) - Error msg:" + ex.Message); return(false); } }
public bool UpdateSpecialOrderBatch(int SO_ID, SO_BatchWPF SoBatch_WPF) { try { bool rtn = lck.UpdateSpecialOrderBatch(SO_ID, SoBatch_WPF.ToSO_Batch()); return(rtn); } catch (Exception ex) { Log("UpdateSpecialOrderBatch(int,SO_BatchWPF) - Error msg:" + ex.Message); return(false); } }