コード例 #1
0
        public ActionResult BookCompleted(
            BookHolidayViewModel viewModel,
            HumanResourcesReplies.ReturnCode bookHolidayReturnCode,
            CalendarReplies.ReturnCode calendarReturnCode)
        {
            if (!ModelState.IsValid)
            {
                return(View(viewModel));
            }

            return(RedirectToAction("Index", new { viewModel.EmployeeId }));
        }
コード例 #2
0
        public ActionResult BookCompleted(
            BookVisitViewModel viewModel,
            SalesReplies.ReturnCode salesReturnCode,
            CalendarReplies.ReturnCode calendarReturnCode)
        {
            if (!ModelState.IsValid)
            {
                return(View(viewModel));
            }

            return(RedirectToAction("Index", new { viewModel.LeadId }));
        }