public IActionResult MakeAppointment(string id) { if (!procedureService.ProcedureExists(id)) { return(NotFound()); } var appointmentViewModel = new AppointmentInputViewModel { ProcedureName = procedureService.GetProcedureName(id), CategoryName = procedureService.GetPrcedureCategoryName(id), Employees = employeeService .GetEmployeesForSelect(id) .ToList() }; return(View(appointmentViewModel)); }