Example #1
0
        //<summary>Admin method to give access admin to the admin manual</summary>
        public static bool LoginAdminBL(int adminId, string password)
        {
            bool loginAdmin = false;

            try
            {
                JobDAL jobDAL = new JobDAL();
                loginAdmin = jobDAL.LoginAdminDAL(adminId, password);
            }
            catch (JobPortalSystemException ex)
            {
                throw ex;
            }
            catch (SystemException ex)
            {
                throw ex;
            }
            return(loginAdmin);
        }