➕ added EF dependencies
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
f1455d7ee3
commit
cc7bb34302
4 changed files with 37 additions and 1 deletions
16
backend/Models/Movie.cs
Normal file
16
backend/Models/Movie.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
#nullable disable
|
||||
|
||||
namespace backend;
|
||||
|
||||
public class Movie
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
public string Year { get; set; }
|
||||
|
||||
public string imdbID { get; set; }
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
public string Poster { get; set; }
|
||||
}
|
12
backend/Models/MovieResponse.cs
Normal file
12
backend/Models/MovieResponse.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
#nullable disable
|
||||
|
||||
namespace backend;
|
||||
|
||||
public class MovieResponse
|
||||
{
|
||||
public string Response { get; set; }
|
||||
|
||||
public string TotalResults { get; set; }
|
||||
|
||||
public List<Movie> Search { get; set; }
|
||||
}
|
Reference in a new issue