public ActionResult Edit([Bind(Include = "UserId,Username,Password,ConfirmPassword,EmailAddress,FirstName,LastName,accessLevel,RememberMe,Inactive")] User user) { if (ModelState.IsValid) { db.Entry(user).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(user)); }
public ActionResult Edit([Bind(Include = "SdcDetailsId,FirstName,LastName,DateAdded,IsTeamCoordinator,IsFullTime")] SdcDetails sdcDetails) { if (ModelState.IsValid) { db.Entry(sdcDetails).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(sdcDetails)); }
public ActionResult Edit([Bind(Include = "DailyDataId,Date,WorkingSDC,Appointments,Presentations,SuccessfulPresentations,Attendance,Members,NinthKyus,Classes,EquipmentSales,Interviews")] DailyData dailyData) { if (ModelState.IsValid) { db.Entry(dailyData).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(dailyData)); }