//Insert Update Delete operaeion on Leave Table #region [ActionPerformed For Leave] public int LeaveAction_BL(EWA_LeaveType objEWA) { try { int flag = objDL.LeaveAction_DL(objEWA); return(flag); } catch (Exception) { throw; } finally { objDL = null; } }
//To Call LeaveGridBind #region [Leave Grid Bind] public DataSet LeaveTypeGridBind_BL(EWA_LeaveType objEWA) { try { DL_LeaveType objDL = new DL_LeaveType(); DataSet ds = objDL.BindLeaveTypeGrid_DL(objEWA); return(ds); } catch (Exception) { throw; } finally { objDL = null; } }