예제 #1
0
        public int Authenticate(Profile profile)
        {
            SqlConnection con = new DbConnection().GetConnection();

            try
            {
                return(dbProfile.Authenticate(profile, null, con));
            }
            finally
            {
                con.Close();
            }
        }
예제 #2
0
        public int Authenticate(Profile profile)
        {
            int profileId = dbProfile.Authenticate(profile);

            return(profileId);
        }