public async Task <string> LoginKey([FromRoute] string username)
        {
            var stringKey64     = _userService.GetKeyForUser(username);
            var publicstringKey = KryptTry2.GetPublicKey(stringKey64);

            return(publicstringKey);
        }
        public async Task <bool> Login([FromRoute] string username, [FromBody] KeyDto pass)
        {
            //var g = _dp.Get<string>("Insert Into public.user", null, CommandType.Text);
            var keyString = KeyCreation.GenerateKeys();

            KryptTry2.GetPublicKey(keyString);
            return(true);
        }