Exemplo n.º 1
0
        //Bind Caste Category Bind Caste Category_BL

        #region [Bind CasteCategory]

        public DataSet BindCasteCategory_BL(EWA_Staff objEWA)
        {
            try
            {
                DL_Staff objDL = new DL_Staff();
                DataSet  ds    = objDL.BindCasteCategory_DL(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemplo n.º 2
0
        //To Check Duplicate Data Of Staff

        #region [CheckDuplicateStaff]

        public int CheckDuplicateStaff_BL(EWA_Staff objEWA)
        {
            try
            {
                DL_Staff objDL = new DL_Staff();
                int      i     = objDL.CheckDuplicateStaff_DL(objEWA);
                return(i);
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                objDL = null;
            }
        }
Exemplo n.º 3
0
        //To Call StaffGridBind

        #region [StaffGridBind]

        public DataSet StaffGridBind_BL()
        {
            try
            {
                DL_Staff objDL = new DL_Staff();
                DataSet  ds    = objDL.BindStaffGrid_DL();
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                objDL = null;
            }
        }
Exemplo n.º 4
0
        //Insert Update Delete operaeion on Staff Table

        #region [ActionPerformed For Staff]

        public DataTable StaffAction_BL(EWA_Staff objEWA)
        {
            try
            {
                DL_Staff  objDL = new DL_Staff();
                DataTable flag  = objDL.staffAction(objEWA);
                return(flag);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                objDL = null;
            }
        }
Exemplo n.º 5
0
        //To Fetch CourseId

        #region [Fetch StaffId]

        public DataSet GetStaffCode_BL(EWA_Staff objEWA)
        {
            try
            {
                DL_Staff objStaffClass = new DL_Staff();
                DataSet  ds            = objDL.GetStaffCode_DL(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                objDL = null;
            }
        }