public bool UpateNewOrder(int NO_ID, NewOrderWPF NO_WPF) { try { bool rtn = lck.UpdateNewOrder(NO_ID, NO_WPF.ToNewOrder()); return(rtn); } catch (Exception ex) { Log("UpateNewOrder(int,NewOrderWPF) - Error msg:" + ex.Message); return(false); } }
public bool DeteleNewOrder(NewOrderWPF NO_WPF) { try { bool rtn = lck.DeleteNewOrder(NO_WPF.Id); return(rtn); } catch (Exception ex) { Log("DeteleNewOrder(NewOrderWPF) - Error msg:" + ex.Message); return(false); } }
public bool AddNewOrder(NewOrderWPF NO_WPF) { try { bool rtn = lck.AddNewOrder(NO_WPF.ToNewOrder()); return(rtn); } catch (Exception ex) { Log("AddNewOrder(NewOrderWPF) - Error msg:" + ex.Message); return(false); } }