예제 #1
0
 public CategoryService()
 {
     Categories = DataBaseService.GetMongoCollection <Category>("Categories");
 }
예제 #2
0
 public UserService()
 {
     Users = DataBaseService.GetMongoCollection <User>("Users");
 }
예제 #3
0
 public MovieService()
 {
     Movies = DataBaseService.GetMongoCollection <Movie>("Movie");
 }
예제 #4
0
 public MovieCommentsService()
 {
     MovieComments = DataBaseService.GetMongoCollection <MovieComment>("MovieComments");
 }
예제 #5
0
 public CommentService()
 {
     Comments = DataBaseService.GetMongoCollection <Comment>("Comments");
 }