Exemple #1
0
 /// <summary>
 /// Wes Richardson
 /// Created: 2019/04/11
 ///
 /// </summary>
 public AppointmentController()
 {
     _guestID             = 100000;
     _appointmentMgr      = new AppointmentManager();
     _resvMgr             = new ReservationManagerMSSQL();
     ViewBag.errorMessage = "";
 }
Exemple #2
0
 public AppointmentController(IDealerManager dealerManager, IVehicleManager vehicleManager, IServiceManager serviceManager, IAppointmentManager appointmentManager)
 {
     _dealerManager      = dealerManager;
     _vehicleManager     = vehicleManager;
     _serviceManager     = serviceManager;
     _appointmentManager = appointmentManager;
 }
Exemple #3
0
 public AppointmentManagerTest()
 {
     _appAccs              = new AppointmentAccessorMock();
     _appMgr               = new AppointmentManager(_appAccs);
     _testAppointments     = new List <Appointment>();
     _testAppointmentTypes = new List <AppointmentType>();
     _testGuestViewModels  = new List <AppointmentGuestViewModel>();
 }
Exemple #4
0
 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();
 }
Exemple #6
0
        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;
 }
Exemple #11
0
 /// <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;
 }
Exemple #14
0
 public AdoptionScheduleController()
 {
     _appointmentManager = new AppointmentManager();
     _locationManager    = new LocationManager();
 }
 public AppointmentsController(IAppointmentManager appointmentManager)
 {
     this.appointmentManager = appointmentManager;
 }
 public Program(IAppointmentManager appointmentManager)
 {
     this.appointmentManager = appointmentManager;
 }
Exemple #17
0
 public HomeController(IAppointmentManager appointmentManager)
 {
     _appointmentManager = appointmentManager;
 }
Exemple #18
0
 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();
 }