There is no argument given that corresponds to the required formal parameter 'options'

LakeViewContext expects a DbContextOptions<LakeViewContext> to be passed into its constructor. However, you are calling the constructor without providing anything:

private LakeViewContext db = new LakeViewContext();

To fix the issue, you can just plug into the Dependency Injection system that you've set up. To do this, change your controller as follows:

public class CoursesController : Controller
{
    private readonly LakeViewContext db;

    public CoursesController(LakeVieContext db)
    {
        this.db = db;
    }

    ...

The ASP.NET Core Dependency Injection system will provide you with a LakeViewContext in the constructor - Just use that.