public PostController(IPostRepository repository, AutomapperWrapper mapper) { _repository = repository; _mapper = mapper; }
public HomeController(IPostRepository postRepository, AutomapperWrapper mapper) { _postRepository = postRepository; _mapper = mapper; }