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