This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
Cinemateket/backend/cinemateket/Models/MovieResponse.cs
haraldnilsen 187c669495 working totalResults and currentPage on the API
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
2023-10-03 10:29:41 +02:00

22 lines
512 B
C#

#nullable disable
namespace backend;
public class MovieResponse
{
public MovieResponse(string Response, int TotalResults, int CurrentPage ,IEnumerable<MovieDB> Search) {
this.Response = Response;
this.TotalResults = TotalResults;
this.CurrentPage = CurrentPage;
this.Search = Search;
}
public string Response { get; set; }
public int TotalResults { get; set; }
public int CurrentPage { get; set; }
public IEnumerable<MovieDB> Search { get; set; }
}