示例#1
0
        public ActionResult PutProcessedInFeedback(int feedbackId)
        {
            AuthorDataAccess feedbacks = new AuthorDataAccess();
            var feedback = feedbacks.GetFeedbackById(feedbackId);

            if (feedback == null)
            {
                return(BadRequest("Фитбека не существует"));
            }
            return(Ok(feedbacks.UpdateProcessedInFeedback(feedbackId)));
        }