Sources/PEngine.Web/Controllers/PostController.cs
Showing 2 of 2 total issues
Method Modify
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[HttpPost] [Authorize] [ValidateAntiForgeryToken] public async Task<IActionResult> Modify(Post formData, [FromServices] IHtmlSanitizer sanitizer)
Method Delete
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[HttpPost] [Authorize] [ValidateAntiForgeryToken] public async Task<IActionResult> Delete(int id, string message) {