/// <summary> /// Wes Richardson /// Created: 2019/04/11 /// /// </summary> public AppointmentController() { _guestID = 100000; _appointmentMgr = new AppointmentManager(); _resvMgr = new ReservationManagerMSSQL(); ViewBag.errorMessage = ""; }
public AppointmentController(IDealerManager dealerManager, IVehicleManager vehicleManager, IServiceManager serviceManager, IAppointmentManager appointmentManager) { _dealerManager = dealerManager; _vehicleManager = vehicleManager; _serviceManager = serviceManager; _appointmentManager = appointmentManager; }
public AppointmentManagerTest() { _appAccs = new AppointmentAccessorMock(); _appMgr = new AppointmentManager(_appAccs); _testAppointments = new List <Appointment>(); _testAppointmentTypes = new List <AppointmentType>(); _testGuestViewModels = new List <AppointmentGuestViewModel>(); }
public Read(Patient patient, IPatientManager patientManager, IAppointmentManager appointmentManager, ITestResultManager testResultManager) { InitializeComponent(); this.patient = patient; this.appointmentManager = appointmentManager; this.testResultManager = testResultManager; this.patientManager = patientManager; }
/// <summary> /// Eduardo Colon /// Created: 2019/04/23 /// /// Default constructor: BrowseAppointment. /// </summary> public BrowseAppointment() { if (_appointmentManager == null) { _appointmentManager = new AppointmentManager(); } InitializeComponent(); }
public AppointmentsController( IMapper mapper, IAppointmentManager appointmentManager, ILogger logger) { m_Mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); m_AppointmentManager = appointmentManager ?? throw new ArgumentNullException(nameof(appointmentManager)); m_Logger = logger ?? throw new ArgumentNullException(nameof(logger)); Debug.Assert(TrackingContext.Current != null); }
public UsersController(IUserManager userManager, IServicesManager servicesManager, IPropertyManager propertyManager, IAppointmentManager appointmentManager, IYelpManager yelpManager) : base(userManager) { _servicesManager = servicesManager; _propertyManager = propertyManager; _appointmentManager = appointmentManager; _yelpManager = yelpManager; }
public AdminController(AdminSeller adminSeller, AdminConcierge adminConcierge, IUserManager userManager, IAppointmentManager appointmentManager, IPropertyManager propertyManager, IServicesManager serviceManager) : base(userManager) { _adminSeller = adminSeller; _appointmentManager = appointmentManager; _adminConcierge = adminConcierge; _propertyManager = propertyManager; _services = serviceManager; }
public frmSelectGuestForAppointment(AppointmentGuestViewModel agvm, IAppointmentManager apptMrg) { _agvm = agvm; _apptMrg = apptMrg; try { _guestViewModels = _apptMrg.RetrieveGuestList(); } catch (Exception ex) { MessageBox.Show(ex.Message); } InitializeComponent(); }
public PatientController(IPatientManager patientManager, IAddressManager addressManager, IEmergencyContactManager emergencyContactManager, IConsultationManager consultationManager, IAppointmentManager appointmentManager, IPatientFactory patientFactory) { _patientManager = patientManager; _addressManager = addressManager; _emergencyContactManager = emergencyContactManager; _consultationManager = consultationManager; _appointmentManager = appointmentManager; _patientFactory = patientFactory; }
/// <summary> /// Eduardo Colon /// Created: 2019/04/23 /// /// constructor to create walkinappointment with three parameters. /// </summary> public WalkInAppointmentDetail(IGuestManager guestManager = null, IAppointmentManager appointmentManager = null, IAppointmentTypeManager appointmentTypeManager = null) { InitializeComponent(); _appointmentManager = appointmentManager; _appointmentTypeManager = appointmentTypeManager; _guestManager = guestManager; if (_appointmentManager == null) { _appointmentManager = new AppointmentManager(); } if (_appointmentTypeManager == null) { _appointmentTypeManager = new AppointmentTypeManager(); } if (_guestManager == null) { _guestManager = new GuestManager(); } try { _guests = _guestManager.ReadAllGuests(); cboAppointmentTypes.ItemsSource = _appointmentTypeManager.RetrieveAllAppointmentTypes(); } catch (Exception ex) { MessageBox.Show(ex.Message + Environment.NewLine + ex.StackTrace); } cboEmail.ItemsSource = _guests.Select(g => g.Email); cboFirstName.ItemsSource = _guests.Select(g => g.FirstName); cboLastName.ItemsSource = _guests.Select(g => g.LastName); dtpikStart.SelectedDate = DateTime.Now; dtpikStart.DisplayDateStart = DateTime.Now; dtpikStart.DisplayDateEnd = DateTime.Now.AddDays(14); dtpikEnd.DisplayDateStart = DateTime.Now; dtpikEnd.DisplayDateEnd = DateTime.Now.AddDays(28); }
//private static string imagesPath = "/Images/Dresses/"; public AppointmentController(IAppointmentManager appointmentManager) : base(appointmentManager) { this.appointmentManager = appointmentManager; }
public AppointmentController(IAppointmentManager appointmentManager, IServicesManager servicesManager) { _appointmentManager = appointmentManager; _serviceManager = servicesManager; }
public AdoptionScheduleController() { _appointmentManager = new AppointmentManager(); _locationManager = new LocationManager(); }
public AppointmentsController(IAppointmentManager appointmentManager) { this.appointmentManager = appointmentManager; }
public Program(IAppointmentManager appointmentManager) { this.appointmentManager = appointmentManager; }
public HomeController(IAppointmentManager appointmentManager) { _appointmentManager = appointmentManager; }
public AppointmentController(IAppointmentManager appointmentManager, IAppointmentFactory appointmentFactory) { _appointmentManager = appointmentManager; _appointmentFactory = appointmentFactory; }
/// <summary> /// Creator : Thomas Dupuy /// Created: 2/21/2020 /// Approver: Austin Gee /// /// This method is a no-argument constructor /// </summary> /// /// <remarks> /// Updater: /// Updated: /// Update: /// </remarks> public AppointmentSchedule() { _appointmentManager = new AppointmentManager(); InitializeComponent(); }