The error is pretty obvious:
Your
MenuModel
class has a single constructor, which requires a
DbContext
parameter:
public MenuModel(DBContext context)
You are trying to create an instance of that class by calling the constructor
without passing any parameters:
var menuModel = new NewWebsite_Site_2018.Pages.View.ViewBar_Info.MenuModel();
The compiler can't find a constructor which doesn't take any parameters, and so it produces the compiler error from your question.
You either need to pass the parameter to the constructor:
var menuModel = new NewWebsite_Site_2018.Pages.View.ViewBar_Info.MenuModel(new DBContext());
or add a parameterless constructor to the class:
public MenuModel() : this(new DBContext())
{
}