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