Ejemplo n.º 1
0
        public IActionResult Report([FromBody] ReportRequest request, [FromRoute] int suspectedId)
        {
            var userId = Request.GetUserId();

            _reportFacade.Report(userId, suspectedId, request.Reason, request.Description);
            return(Ok());
        }