public UnitOfWork(vacunAPPContext vacunAPPContext)
 {
     this._context     = vacunAPPContext;
     this.Vaccines     = new VaccineRepository(_context);
     this.User         = new UserRepository(_context);
     this.Institute    = new CenterRepository(_context);
     this.Person       = new PersonRepository(_context);
     this.Notebook     = new NotebookRepository(_context);
     this.Professional = new ProfessionalRepository(_context);
 }
Exemple #2
0
 public CenterRepository(vacunAPPContext context) : base(context)
 {
 }
Exemple #3
0
 public VaccineRepository(vacunAPPContext context) : base(context)
 {
 }
Exemple #4
0
 public ProfessionalRepository(vacunAPPContext context) : base(context)
 {
 }
 public NotebookRepository(vacunAPPContext context) : base(context)
 {
 }
Exemple #6
0
 public PersonRepository(vacunAPPContext context) : base(context)
 {
 }
 public EfCoreRepository(vacunAPPContext context)
 {
     _context = context;
 }