public PostsService(IPostRepository postRepository, IUserMockRepository userMockRepository, IMapper autoMapper, IBlockMockRepository blockMockRepository, ITypeOfPostRepository typeRepository)
 {
     this.postRepository      = postRepository;
     this.userMockRepository  = userMockRepository;
     this.autoMapper          = autoMapper;
     this.blockMockRepository = blockMockRepository;
     this.typeRepository      = typeRepository;
 }
 public TypeOfPostService(ITypeOfPostRepository typeRepository, IPostRepository postRepository)
 {
     this.typeRepository = typeRepository;
     this.postRepository = postRepository;
 }
 public TypeOfPostController(ITypeOfPostRepository typeRepository, IMapper autoMapper, ITypeOfPostService typeService)
 {
     this.typeRepository = typeRepository;
     this.autoMapper     = autoMapper;
     this.typeService    = typeService;
 }