public ActionResult FeedbackRcmdSeats(ComFeedbackRcmdSeats model) { try { var obj = GetData(); db.BI_affi_insert_Com_recmond_seats(Convert.ToUInt16(model.InstituteId), Convert.ToInt16(model.courseid), Convert.ToInt16(obj.Institute_Id), Convert.ToInt16(model.seatRecommanded)); TempData["Message_string"] = "Add sucessfully"; return(RedirectToAction("FeedbackRcmdSeats", "AffiliationMembers")); } catch (Exception exp) { TempData["Message_string"] = exp.Message; return(RedirectToAction("FeedbackRcmdSeats", "AffiliationMembers")); } }