@@ -23,7 +23,7 @@ namespace React.Sample.Owin.Models
23
23
public class AuthorModel
24
24
{
25
25
public string Name { get ; set ; }
26
- public string Facebook { get ; set ; }
26
+ public string GithubUsername { get ; set ; }
27
27
}
28
28
public class CommentModel
29
29
{
@@ -49,11 +49,11 @@ public CommentsMiddleware(Func<IDictionary<string, object>, Task> next)
49
49
// For clarity, we'll just use a hard-coded list.
50
50
var authors = new Dictionary < string , AuthorModel >
51
51
{
52
- { "daniel" , new AuthorModel { Name = "Daniel Lo Nigro" , Facebook = "daaniel " } } ,
53
- { "vjeux" , new AuthorModel { Name = "Christopher Chedeau" , Facebook = "vjeux" } } ,
54
- { "cpojer" , new AuthorModel { Name = "Christoph Pojer" , Facebook = "cpojer" } } ,
55
- { "jordwalke" , new AuthorModel { Name = "Jordan Walke" , Facebook = "jordwalke" } } ,
56
- { "zpao" , new AuthorModel { Name = "Paul O'Shannessy" , Facebook = "zpao" } } ,
52
+ { "daniel" , new AuthorModel { Name = "Daniel Lo Nigro" , GithubUsername = "Daniel15 " } } ,
53
+ { "vjeux" , new AuthorModel { Name = "Christopher Chedeau" , GithubUsername = "vjeux" } } ,
54
+ { "cpojer" , new AuthorModel { Name = "Christoph Pojer" , GithubUsername = "cpojer" } } ,
55
+ { "jordwalke" , new AuthorModel { Name = "Jordan Walke" , GithubUsername = "jordwalke" } } ,
56
+ { "zpao" , new AuthorModel { Name = "Paul O'Shannessy" , GithubUsername = "zpao" } } ,
57
57
} ;
58
58
59
59
_comments = new List < CommentModel >
0 commit comments