예제 #1
0
 public PostRepository(BloghostContext context) => this.context = context;
예제 #2
0
 public CommentRepository(BloghostContext context, IUserRepository users, IPostRepository posts)
 {
     this.context = context;
     this.posts   = posts;
     this.users   = users;
 }
예제 #3
0
 public BlogsRepository(BloghostContext context, IUserRepository users)
 {
     this.context = context;
     this.users   = users;
 }