Add a reference to System.Collections.Generic to the top of your class:
using System.Collections.Generic;
From your comment:
have another question: is it necessary to write namespace project.Models? and the reason
Namespaces are not mandatory but they help organise your code.
You don't need this line using project.Models; at the top of your class Genre. Genre is already in the namespace project.Models since you define that here:
// define the namespace for Genre
namespace project.Models
{
Since Genre is in the namespace project.Models you can reference any other class in Models without adding an explicit using.
However, when you reference Genre from a class which is in a different namespace (not in project.Models) you will need to add using project.Models to the top of that class. Otherwise, you could use the full reference Models.Genre.
This link has a good explanation of declaring, accessing and using namespaces.