示例#1
0
        public MarriageViewer(string connStr, Marriage matrimoni)
        {
            _personaRepository   = new PersonRepository(connStr);
            _matrimoniRepository = new MarriageRepository(connStr);
            _fillRepository      = new SonRepository(connStr);

            _matrimoni = matrimoni;
        }
示例#2
0
 public UpwardTreeBuilder(
     PersonRepository personRepository,
     MarriageRepository marriageRepository,
     SonRepository sonRepository)
 {
     _personRepository   = personRepository;
     _marriageRepository = marriageRepository;
     _sonRepository      = sonRepository;
 }
示例#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;
        }