/// <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); }
public HouseholdController() { _db = new ApplicationDbContext(); _manager = new HouseholdManager(_db); _emailService = new EmailService(); }