Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modified entities Question,Article to allow subscr

  • Loading branch information...
commit 7742a022d76514567595737b893cfd81d79fff69 1 parent 6fe829f
@mantic0 mantic0 authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  CodeBase/Models/Article.cs
  2. +1 −0  CodeBase/Models/Question.cs
View
2  CodeBase/Models/Article.cs
@@ -31,6 +31,6 @@ public class Article
public virtual ICollection<Rating> Ratings { get; set; }
public virtual ICollection<Comment> Comments { get; set; }
public virtual ICollection<File> Files { get; set; }
-
+ public virtual ICollection<User> Subscribers { get; set; }
}
}
View
1  CodeBase/Models/Question.cs
@@ -22,5 +22,6 @@ public class Question
public int UserId { get; set; }
public virtual User Author { get; set; }
public virtual ICollection<Answer> Answers { get; set; }
+ public virtual ICollection<User> Subscribers { get; set; }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.