/// <summary>
 /// Creator: Awaab Elamin
 /// Created: 2020/3/7
 /// Approver: Mohamed Elamin
 /// default constructor assgined intial values
 /// </summary>
 /// <remarks>
 /// UPDATED BY: NA
 /// UPDATE DATE: NA
 /// CHANGE: NA
 /// </remarks>
 public AdoptionController()
 {
     adoptionApplication        = new AdoptionApplication();
     adoptionApplicationManager = new ReviewerManager();
     questionnair                = new Questionnair();
     _adoptionCustomerManager    = new AdoptionCustomerManager();
     _adoptionApplicationManager = new AdoptionApplicationManager();
     _adoptionAnimalManager      = new AdoptionAnimalManager();
     _adoptionAppointmentManager = new AdoptionAppointmentManager();
     _userManager                = new UserManager();
     _animalManager              = new AnimalManager();
 }
        /// <summary>
        /// NAME: Austin Gee
        /// DATE: 2/6/2020
        /// CHECKED BY: Mohamed Elamin, 02/07/2020
        ///
        /// This is the standard no argument constructor
        /// </summary>
        /// <remarks>
        /// UPDATED BY: NA
        /// UPDATE DATE: NA
        /// WHAT WAS CHANGED: NA
        ///
        /// </remarks>
        public pgAdoptionCustomers()
        {
            InitializeComponent();
            _adoptionCustomerManager    = new AdoptionCustomerManager();
            _appointmentTypeManager     = new AppointmentTypeManager();
            _adoptionApplicationManager = new AdoptionApplicationManager();
            _locationManager            = new LocationManager();
            _adoptionAppointmentManager = new AdoptionAppointmentManager();

            canAdoptionCustomerProfile.Visibility  = Visibility.Collapsed;
            canAdoptionCustomerProfiles.Visibility = Visibility.Visible;


            populateCustomerDataGrid();
        }
예제 #3
0
 public AccountController()
 {
     _customerManager = new AdoptionCustomerManager();
 }