Adding Genre Controller
Create a controller named GenreController.
The key code to provide Linq to SQL operation mode is DataContext.
private OperationDataContext context;
public GenreController()
{
context = new OperationDataContext();
}
Note that OperationDataContext type changed dynamically depends on the Linq to SQL class name.