Пример #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));
        }
Пример #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));
        }