public TagRepository(BloggingPlatformDbContext dbContext) { this.dbContext = dbContext; }
public PostRepository(BloggingPlatformDbContext dbContext, ITagRepository tagRepository) { this.dbContext = dbContext; this.tagRepository = tagRepository; }
public PostService(BloggingPlatformDbContext context, IMapper mapper) { _context = context; _mapper = mapper; }