using backend.Services; using Microsoft.AspNetCore.Mvc; namespace backend.Controllers; [ApiController] [Route("blog/api[controller]")] public class PostController: ControllerBase { private readonly PostService _postService; public PostController(PostService postService) { _postService = postService; } }