private bool CheckDesignation(string Desgination, string Grad, decimal Gosssalary) { SalaryUpdate_BLL salaryupdateBll = new SalaryUpdate_BLL(); try { bool Status = salaryupdateBll.CheckDesignation(Desgination, Grad, Gosssalary); return(Status); } catch (Exception) { throw; } }
private bool CheckDesignation(string Desgination, string Grad, decimal Gosssalary) { bool Status = false; try { Status = salaryupdateBll.CheckDesignation(Desgination, Grad, Gosssalary); return(Status); } catch (Exception ex) { ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "text", "func('" + ex.Message + "')", true); } return(Status); }