I wrote the code below in the Seed method in Configuration.cs and then in package manager console I write the update-database command line.
In Package Manager Console