Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
 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));
 }