public bool Authenticate(string nickname, string password) { string hash = _cryptoProvider.GetMd5Hash(password); return(_repository.Authenticate(nickname, hash)); }