Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> PostReport([FromBody] Report report) { if (report.PostId == Guid.Empty) { return(BadRequest("Invalid Post")); } if (report.ReporterId == Guid.Empty) { return(BadRequest("Invalid User")); } await _moderationService.PostReport(report); return(Ok()); }