Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class UserDetailsView : IView
- {
- private readonly Model model;
- public UserDetailsView(Model model)
- {
- this.model = model;
- }
- public string View()
- {
- return
- "<body>" +
- $" Hello, {this.model["name"]}!" +
- "</br>" +
- "</br>" +
- $"<a href=\"http://127.0.0.1:8230\"> GoToHomePage</a>" +
- "</body>";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement