added EF dependencies

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-09-15 10:42:46 +02:00
parent f1455d7ee3
commit cc7bb34302
4 changed files with 37 additions and 1 deletions

16
backend/Models/Movie.cs Normal file
View 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; }
}

View 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; }
}