Пример #1
0
 public CommentService(ICommentRepository commentRepository, ICommentUserRepository commentUserRepository, IUnitOfWork unitOfWork, IFollowUserRepository followUserRepository)
 {
     this.commentRepository     = commentRepository;
     this.commentUserRepository = commentUserRepository;
     this.followUserRepository  = followUserRepository;
     this.unitOfWork            = unitOfWork;
 }
Пример #2
0
 public CommentService(ICommentRepository commentRepository, ICommentUserRepository commentUserRepository, IUnitOfWork unitOfWork, IFollowUserRepository followUserRepository)
 {
     _commentRepository     = commentRepository;
     _commentUserRepository = commentUserRepository;
     _followUserRepository  = followUserRepository;
     _unitOfWork            = unitOfWork;
 }
Пример #3
0
 public CommentService(ICommentRepository commentRepository,ICommentUserRepository commentUserRepository, IUnitOfWork unitOfWork, IFollowUserRepository followUserRepository)
 {
     this.commentRepository = commentRepository;
     this.commentUserRepository = commentUserRepository;
     this.followUserRepository = followUserRepository;
     this.unitOfWork = unitOfWork;
 }
Пример #4
0
 public CommentUserService(ICommentUserRepository commentUserRepository, IUserRepository userRepository, IUnitOfWork unitOfWork)
 {
     this.commentUserRepository = commentUserRepository;
     this.userRepository        = userRepository;
     this.unitOfWork            = unitOfWork;
 }
Пример #5
0
 public CommentUserService(ICommentUserRepository commentUserRepository, IUserRepository userRepository, IUnitOfWork unitOfWork)
 {
     _commentUserRepository = commentUserRepository;
     _userRepository        = userRepository;
     _unitOfWork            = unitOfWork;
 }
Пример #6
0
 public CommentService(ICommentUserRepository commentUserRepository, IGenericRepository <Comment> genericRepository, ICommentRepository commentRepository) : base(genericRepository)
 {
     _genericRepository     = genericRepository;
     _commentRepository     = commentRepository;
     _commentUserRepository = commentUserRepository;
 }