Exemplo n.º 1
0
 private void InitRepository()
 {
     RoleRepository              = new RoleRepository(_context);
     UserRepository              = new UserRepository(_context);
     UserInfoRepository          = new UserInfoRepository(_context);
     MomInfoRepository           = new MomInfoRepository(_context);
     ChildInfoRepository         = new ChildInfoRepository(_context);
     ChildHistoryRepository      = new ChildHistoryRepository(_context);
     PregnancyHistoryRepository  = new PregnancyHistoryRepository(_context);
     DadInfoRepository           = new DadInfoRepository(_context);
     DiaryRepository             = new DiaryRepository(_context);
     NewsRepository              = new NewsRepository(_context);
     NewsTypeRepository          = new NewsTypeRepository(_context);
     NewsMomRepository           = new NewsMomRepository(_context);
     GuidebookRepository         = new GuidebookRepository(_context);
     GuidebookTypeRepository     = new GuidebookTypeRepository(_context);
     GuidebookMomRepository      = new GuidebookMomRepository(_context);
     TokenRepository             = new TokenRepository(_context);
     ToothChildRepository        = new ToothRepository(_context);
     ToothInfoRepository         = new ToothInfoRepository(_context);
     InjectionScheduleRepository = new InjectionScheduleRepository(_context);
     InjectedPersonRepository    = new InjectedPersonRepository(_context);
     ActivityRepository          = new ActivityRepository(_context);
     ActionChildRepository       = new ActionChildRepository(_context);
     ActionRepository            = new ActionRepository(_context);
     StandardIndexRepository     = new StandardIndexRepository(_context);
     VaccineRepository           = new VaccineRepository(_context);
 }
Exemplo n.º 2
0
 public VaccineController(IVaccineRepository vaccinerepository)
 {
     _vaccinerepository = vaccinerepository;
 }
Exemplo n.º 3
0
 public VaccineBLImpl(IVaccineRepository vaccineRepository)
 {
     _vaccineRepository = vaccineRepository;
 }