Esempio n. 1
0
 public TodoItemController(MyTodoListContext context)
 {
     _context = context;
 }
Esempio n. 2
0
 public UserService(IOptions <AppSettings> appSettings, MyTodoListContext dbContext)
 {
     _appSettings = appSettings.Value;
     _dbContext   = dbContext;
 }