예제 #1
0
        public Admin CreateAdminLogin(string email, string password)
        {
            string s = account.CreatePasswordHash(password);

            char[] splitter  = { ':' };
            var    split     = s.Split(splitter);
            string salt      = split[0];
            string hashValue = split[1];

            return(adminDB.CreateAdmin(email, hashValue, salt));
        }