Esempio n. 1
0
        //Delete Faculty
        #region [Delete Faculty]

        public int DeleteFaculty_BL(EWA_StaffView objEWA)
        {
            try
            {
                DL_StaffView ObjDL = new DL_StaffView();
                return(ObjDL.DeleteFaculty_DL(objEWA));
            }
            catch (Exception)
            {
                return(0);
            }
        }
Esempio n. 2
0
        //Faculty Data
        #region StaffView

        public DataSet BL_ViewFacultyData(EWA_StaffView objEWA)
        {
            try
            {
                DL_StaffView objDL = new DL_StaffView();
                DataSet      ds    = objDL.DL_FacultyData(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
        }
Esempio n. 3
0
        //#region StaffView
        //public DataSet BL_StaffViewId(EWA_StaffView objEWA)
        //{
        //    try
        //    {
        //        DL_StaffView objDL = new DL_StaffView();
        //        DataSet ds = objDL.DL_ShowStaffViewProfile(objEWA);
        //        return ds;
        //    }
        //    catch (Exception)
        //    {
        //        throw;

        //    }
        //    finally
        //    {
        //    }
        //}
        //#endregion


        public DataSet FacultyIcard_BL(EWA_StaffView objEWA)
        {
            try
            {
                DL_StaffView objDL = new DL_StaffView();
                DataSet      ds    = objDL.FacultyIcard_DL(objEWA);
                return(ds);
            }
            catch (Exception)
            {
                throw;
            }
        }
Esempio n. 4
0
        //#region Editing record
        //public DataSet FacultyViewf_BL(EWA_StaffView objEWA)
        //{
        //    try
        //    {
        //        DL_StaffView objDL = new DL_StaffView();
        //        DataSet ds = objDL.DL_ShowStaffViewProfilef(objEWA);
        //        return ds;
        //    }
        //    catch (Exception)
        //    {
        //        throw;
        //    }
        //    finally
        //    {
        //    }
        //}
        //#endregion

        //#region Editing record
        //public DataSet BL_StaffViewIdf(EWA_StaffView objEWA)
        //{
        //    try
        //    {
        //        DL_StaffView objDL = new DL_StaffView();
        //        DataSet ds = objDL.FacultyIcardf_DL(objEWA);
        //        return ds;
        //    }
        //    catch (Exception)
        //    {
        //        throw;
        //    }
        //    finally
        //    {
        //    }

        //}
        //#endregion
        #endregion

        //Update Faculty
        #region Editing record

        public int BL_UpdateFaculty(EWA_StaffView objEWA)
        {
            try
            {
                DL_StaffView objDL = new DL_StaffView();
                int          flag  = 0;// = objDL.UpdateFaculty_DL(objEWA);
                return(flag);
            }
            catch (Exception)
            {
                throw;
            }
        }