public ActionResult PutProcessedInFeedback(int feedbackId) { AuthorDataAccess feedbacks = new AuthorDataAccess(); var feedback = feedbacks.GetFeedbackById(feedbackId); if (feedback == null) { return(BadRequest("Фитбека не существует")); } return(Ok(feedbacks.UpdateProcessedInFeedback(feedbackId))); }