fix(blog): add restore path for archived posts
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m57s

This commit is contained in:
2026-07-02 11:05:53 +09:00
parent e0b8d4e370
commit ad55bd1884
6 changed files with 38 additions and 0 deletions
@@ -97,4 +97,12 @@ public class BlogController : ControllerBase
await _blogService.ArchiveAsync(id);
return NoContent();
}
[HttpPost("{id}/restore")]
[Authorize]
public async Task<IActionResult> Restore(int id)
{
await _blogService.RestoreAsync(id);
return NoContent();
}
}