You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
334 B
15 lines
334 B
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; |
|
} |
|
} |