Пример #1
0
 public UserRepository(LineUpContext context, IOptions <AppSettings> appSettings, IConfiguration configuration)
 {
     _context       = context;
     _appSettings   = appSettings.Value;
     _configuration = configuration;
 }
Пример #2
0
 public PhotoRepository(LineUpContext context)
 {
     _context = context;
 }
Пример #3
0
 public LineUpRepository(LineUpContext context, IConfiguration configuration)
 {
     _context       = context;
     _configuration = configuration;
 }