public async Task <ActionResult> Edit([Bind(Include = "Id,FeedbackScore,CategoryId,Comment,UserId,FeedbackTypeId,FeedbackQuestionId,Archived,DateLastUpdated,UserLastUpdated,DateCreated,UserCreated")] Feedback feedback) { if (ModelState.IsValid) { feedbackService.Edit(feedback); return(RedirectToAction("Index")); } ViewBag.FeedbackQuestionId = new SelectList(db.FeedbackQuestions, "Id", "Question", feedback.FeedbackQuestionId); ViewBag.FeedbackTypeId = new SelectList(db.FeedbackTypes, "Id", "FeedbackTypeName", feedback.FeedbackTypeId); ViewBag.UserId = new SelectList(db.Users, "Id", "UserEmail", feedback.UserId); return(View(feedback)); }