Esempio n. 1
0
        public async Task <IActionResult> removeReport([FromRoute] Guid reportId)
        {
            var result = await _reportRepo.DeleteReport(reportId);


            if (result == false)
            {
                return(NotFound());
            }

            return(Ok());
        }
Esempio n. 2
0
 public async void DeleteReport(string content)
 {
     await _reportRepo.DeleteReport(Int32.Parse(content));
 }