@@ -23,7 +23,7 @@ namespace React.Sample.Owin.Models
2323 public class AuthorModel
2424 {
2525 public string Name { get ; set ; }
26- public string Facebook { get ; set ; }
26+ public string GithubUsername { get ; set ; }
2727 }
2828 public class CommentModel
2929 {
@@ -49,11 +49,11 @@ public CommentsMiddleware(Func<IDictionary<string, object>, Task> next)
4949 // For clarity, we'll just use a hard-coded list.
5050 var authors = new Dictionary < string , AuthorModel >
5151 {
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" } } ,
5757 } ;
5858
5959 _comments = new List < CommentModel >
0 commit comments