public ContactInfoPersonRelsController( IContactInfoPersonRelRepository contactInfoPersonRelRepo, ILookupRepository lookupRepo, IBeholderPersonRepository beholderPersonRepo) { _contactInfoPersonRelRepo = contactInfoPersonRelRepo; _lookupRepo = lookupRepo; _beholderPersonRepo = beholderPersonRepo; ViewBag.PossibleContactInfoTypes = _lookupRepo.GetContactInfoTypes(); ViewBag.PossiblePrimaryStatus = _lookupRepo.GetPrimaryStatuses(); }
public AddressesController(IAddressRepository addressRepository, IAddressChapterRelRepository addresschapterrelRepository, IAddressPersonRelRepository addresspersonrelRepository, IAddressEventRelRepository addresseventrelRepository, IAddressContactRelRepository addresscontactrelRepository, IAddressSubscriptionsRelRepository addresssubscriptionsrelRepository, ILookupRepository lookupRepo, IPersonRepository personRepo, IBeholderPersonRepository beholderPersonRepo) { _lookupRepo = lookupRepo; _addressRepository = addressRepository; _addresspersonrelRepository = addresspersonrelRepository; _addresschapterrelRepository = addresschapterrelRepository; _addresseventrelRepository = addresseventrelRepository; _addresscontactrelRepository = addresscontactrelRepository; _addresssubscriptionsrelRepository = addresssubscriptionsrelRepository; _beholderPersonRepo = beholderPersonRepo; _personRepo = personRepo; ViewBag.PossibleStates = _lookupRepo.GetStates(); ViewBag.PossibleAddressTypes = _lookupRepo.GetAddressTypes(); ViewBag.PossiblePrimaryStatus = _lookupRepo.GetPrimaryStatuses(); }