public static DataSet InsertUpdateEmployee(dhDBnames objDBNames, dhEmployee objEmployee) { try { DataSet var_ret; if (objBLEmployee == null) { objBLEmployee = new blEmployee(); } var_ret = objBLEmployee.InsertUpdateEmployee(objDBNames, objEmployee); return(var_ret); } catch (Exception ex) { throw ex; } }
//private static void HideProgressBarfrm() //{ // if (objModernWindow != null) // { // ProgressBar ProgressBarfrm = FindChildByType<ProgressBar>(objModernWindow); // ProgressBarfrm.Visibility = Visibility.Hidden; // } //} //private static void ShowProgressBarfrm() //{ // if (objModernWindow != null) // { // ProgressBar ProgressBarfrm = FindChildByType<ProgressBar>(objModernWindow); // ProgressBarfrm.Visibility = Visibility.Visible; // } //} public static dsGeneral.dtEmployeeDataTable GetEmployee(dhDBnames objDBNames, dhEmployee objEmployee) { try { // // ShowProgressBarfrm(); dsGeneral.dtEmployeeDataTable var_ret = new dsGeneral.dtEmployeeDataTable(); if (objBLEmployee == null) { objBLEmployee = new blEmployee(); } var_ret = objBLEmployee.GetEmployee(objDBNames, objEmployee); //// HideProgressBarfrm(); return(var_ret); } catch (Exception ex) { throw ex; } }