public PostDataAccess(IPostRepo postRepo, IPostValidator postValidator, IAuthorRepo authorRepo, IAuthorValidator authorValidator) { _postRepo = postRepo; _postValidator = postValidator; _authorRepo = authorRepo; _authorValidator = authorValidator; }
public PostLogic(IMapper mapper, IPostRepository postRepository, IPostValidator postValidator) : base(mapper, postRepository, postValidator) { _postRepository = postRepository; _postValidator = postValidator; }
public TopicController(ITopicService topicService, IPostValidator postValidator, IAuthService authService) { _topicService = topicService; _postValidator = postValidator; _authService = authService; }