public async Task <IActionResult> EditComplaint([FromRoute] string complaintId, [FromBody] EditComplaintDTO model) { var result = await _complaintsServices.EditComplaint(complaintId, model); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }