public ActionResult BookCompleted( BookHolidayViewModel viewModel, HumanResourcesReplies.ReturnCode bookHolidayReturnCode, CalendarReplies.ReturnCode calendarReturnCode) { if (!ModelState.IsValid) { return(View(viewModel)); } return(RedirectToAction("Index", new { viewModel.EmployeeId })); }
public ActionResult BookCompleted( BookVisitViewModel viewModel, SalesReplies.ReturnCode salesReturnCode, CalendarReplies.ReturnCode calendarReturnCode) { if (!ModelState.IsValid) { return(View(viewModel)); } return(RedirectToAction("Index", new { viewModel.LeadId })); }