Posts

Showing posts with the label webapi2

Calling angular 4 router with Multiple parameters from C#

Image
Clash Royale CLAN TAG #URR8PPP Calling angular 4 router with Multiple parameters from C# I want to call router with multiple parameters using C#.Here is i am making url var _email = UtilityConverter.Encrypt(Email); var _userId = UtilityConverter.Encrypt(Convert.ToString(UserId)); // this.router.navigate(['search', { term: term}]); var _subject = "Email Verification"; StringBuilder sb = new StringBuilder(); sb.Append("<html>"); sb.Append("<body>"); sb.Append("<p>Dear ,</p>"); sb.Append("<p>Please click the below link to verify your email.</p><br>"); sb.Append("<a href='http://localhost:4200/Emailverification/" + _email + "/" + _userId + "'>click here</a>"); sb.Append("<p>Sincerely,<br>-Offey</br>...