POST-endpoint in the box

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
This commit is contained in:
Sindre Kjelsrud 2023-09-26 09:47:41 +02:00
parent 251d551c3f
commit a134a5e376
2 changed files with 34 additions and 11 deletions

View file

@ -18,4 +18,12 @@ public class MovieDB
public string Type { get; set; }
public string Poster { get; set; }
public MovieDB(string Title, string Year, string imdbID, string Type, string Poster) {
this.Title = Title;
this.Year = Year;
this.imdbID = imdbID;
this.Type = Type;
this.Poster = Poster;
}
}