Esempio n. 1
0
 public WeightRepository(LovePlatformContext context, IOptions <MyOptions> optionsAccessor)
 {
     _context         = context;
     _optionsAccessor = optionsAccessor.Value;
     _idGenerator     = IdGenerator.CreateGenerator(_optionsAccessor.GeneratorId);
 }
Esempio n. 2
0
 public UserRepository(LovePlatformContext context)
 {
     _Context = context;
 }
 public UnitWork(LovePlatformContext context)
 {
     _context = context;
 }
 public DiagnoseRepository(LovePlatformContext context)
 {
     _Context = context;
 }
 public TreatImageRepository(LovePlatformContext context)
 {
     _Context = context;
 }