Skip to main content

Read

Read todos all


public IEnumerable<Todo> GetAll()
=> dbContext.Todos.ToList();

public async Task<IEnumerable<Todo>> GetAllAsync()
=> await dbContext.Todos.ToListAsync();