public VoteController(IVoteRepository VoteRepository, IVoteUserRepository VoteUserRepository, IResponseImageTextRepository ResponseImageTextRepository, IUserProfileRepository UserProfileRepository) { this.ResponseImageTextRepository = ResponseImageTextRepository; this.UserProfileRepository = UserProfileRepository; this.VoteUserRepository = VoteUserRepository; this.VoteRepository = VoteRepository; }
public VoteService(IVoteRepository voteRepository, IVoteUserRepository voteUserRepository) { _voteRepository = voteRepository; _voteUserRepository = voteUserRepository; }