private ContentService(NHibernateSessionFactory repositoryFactory) { eventRepository = repositoryFactory.EventRepository; newsItemRepository = repositoryFactory.NewsRepository; userRoleRepository = repositoryFactory.UserRoleRepository; }
private ProfileService(NHibernateSessionFactory repositoryFactory) { userRepository = repositoryFactory.UserRepository; }