public void OnSave() { try { if (!Validation()) { return; } List <NS_BAC_LUONG> lst = null; GetFormData(ref lst); NhanSuProcess processNhanSu = new NhanSuProcess(); List <ClientResponseDetail> listClientResponseDetail = new List <ClientResponseDetail>(); bool ret = false; Mouse.OverrideCursor = Cursors.Wait; ret = processNhanSu.BangLuong(DatabaseConstant.Action.LUU, ref lst, ref listClientResponseDetail); Mouse.OverrideCursor = Cursors.Arrow; AfterSave(ret, listClientResponseDetail); } catch (Exception ex) { CommonFunction.ThongBaoLoi(ex); LLogging.WriteLog(System.Reflection.MethodInfo.GetCurrentMethod().ToString(), LLogging.LogType.ERR, ex); } }