Ejemplo n.º 1
0
        private string GenerateCallBack(string id, string code)
        {
            var queryParams = new Dictionary <string, string> {
                ["userId"] = id, ["code"] = code
            };

            return(_linkGeneratorService.GenerateFrontEnd(UrlsFrontEnd.AccountsRecoveryPasswordValidate, queryParams));
        }
Ejemplo n.º 2
0
        private string GenerateCallBack(string id, string code, string newEmail)
        {
            var queryParams = new Dictionary <string, string>
            {
                ["userId"]   = id,
                ["code"]     = code,
                ["newEmail"] = newEmail
            };

            return(_linkGeneratorService.GenerateFrontEnd(
                       UrlsFrontEnd.AccountsRegisterValidateChangeEmail,
                       queryParams));
        }