コード例 #1
0
 /// <summary>
 /// A constructor that initializes class level variables
 /// </summary>
 ///
 public DatabaseWrapper(DatabaseManager database)
 {
     scheduler = new AppointmentScheduler(database);
     billing   = new Billing.Billing(database);
     billingIO = new BillingFileInteraction(database);
     people    = new PersonDB(database);
     houses    = new HouseholdManager(database);
 }
コード例 #2
0
 public HouseholdController()
 {
     _db           = new ApplicationDbContext();
     _manager      = new HouseholdManager(_db);
     _emailService = new EmailService();
 }