Adding Genre Model
The first step is creating model for Genre table. Actually, it contains a default constructor for each corresponding column in database table.
Add GenreModel in the model folder.
public class GenreModel
{
public int Id { get; set; }
public string Name { get; set; }
}