Beispiel #1
0
        //<summary>User Login method to give access any user to the user manual</summary>
        public static bool LoginUserBL(int userId, string password)
        {
            bool loginUser = false;

            try
            {
                JobDAL jobDAL = new JobDAL();
                loginUser = jobDAL.LoginUserDAL(userId, password);
            }
            catch (JobPortalSystemException ex)
            {
                throw ex;
            }
            catch (SystemException ex)
            {
                throw ex;
            }
            return(loginUser);
        }