public IActionResult ApproveFeedback(Guid feedbackId) { if (!IsValidAuthenticationRole("Admin")) { return(StatusCode(403)); } try { _feedbackService.ApproveFeedback(feedbackId); return(Ok()); }catch (Exception) { return(BadRequest()); } }
public IActionResult ApproveFeedback(Guid feedbackId) { if (!IsValidAuthenticationRole("Admin")) { return(StatusCode(403)); } try { _feedbackService.ApproveFeedback(feedbackId); return(Ok()); }catch (Exception) { return(BadRequest()); } }