Esempio n. 1
0
        public MarriageViewer(string connStr, Marriage matrimoni)
        {
            _personaRepository   = new PersonRepository(connStr);
            _matrimoniRepository = new MarriageRepository(connStr);
            _fillRepository      = new SonRepository(connStr);

            _matrimoni = matrimoni;
        }
Esempio n. 2
0
 public UpwardTreeBuilder(
     PersonRepository personRepository,
     MarriageRepository marriageRepository,
     SonRepository sonRepository)
 {
     _personRepository   = personRepository;
     _marriageRepository = marriageRepository;
     _sonRepository      = sonRepository;
 }
Esempio n. 3
0
        public PersonController(
            UserManager <ApplicationUser> userManager,
            ILoggerFactory loggerFactory,
            PersonRepository personRepository,
            MarriageRepository marriageRepository,
            SonRepository sonRepository)
        {
            _userManager = userManager;
            _logger      = loggerFactory.CreateLogger <ManageController>();

            _personRepository   = personRepository;
            _marriageRepository = marriageRepository;
            _sonRepository      = sonRepository;
        }