public async Task <IActionResult> removeReport([FromRoute] Guid reportId) { var result = await _reportRepo.DeleteReport(reportId); if (result == false) { return(NotFound()); } return(Ok()); }
public async void DeleteReport(string content) { await _reportRepo.DeleteReport(Int32.Parse(content)); }