AppointmentReminders.Web.Controllers.AppointmentsController.Edit C# (CSharp) Method

Edit() private method

private Edit ( [ Include = "ID,Name,PhoneNumber,Time,Timezone")]Appointmentappointment ) : System.Web.Mvc.ActionResult
Include [
return System.Web.Mvc.ActionResult
        public ActionResult Edit([Bind(Include = "ID,Name,PhoneNumber,Time,Timezone")] Appointment appointment)
        {
            if (ModelState.IsValid)
            {
                _repository.Update(appointment);
                return RedirectToAction("Details", new { id = appointment.Id });
            }
            return View(appointment);
        }

Same methods

AppointmentsController::Edit ( int id ) : System.Web.Mvc.ActionResult