private bool CheckDesignation(string Desgination, string Grad, decimal?Gosssalary) { bool Status = false; try { SalaryIncrementBLL _salaryIncrementBll = new SalaryIncrementBLL(); Status = _salaryIncrementBll.CheckDesignation(Desgination, Grad, Gosssalary); return(Status); } catch (Exception ex) { } return(Status); }
private bool CheckDesignation(string Desgination, string Grad, decimal?Gosssalary) { bool Status = false; try { SalaryIncrementBLL _salaryIncrementBll = new SalaryIncrementBLL(); Status = _salaryIncrementBll.CheckDesignation(Desgination, Grad, Gosssalary); return(Status); } catch (Exception ex) { string EID = Convert.ToString(((SessionUser)Session["SessionUser"]).EID); //LogController<Salary_Update>.SetLog(ex, EID); ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "text", "func('" + ex.Message + "')", true); } return(Status); }