I'm making a simple movie database, and I'm trying to insert an image property as in this picture:

View movies

How can I create something similar to this, using the properties I have:

public class Movie
        public int ID { get; set; }
        public string Title { get; set; }
        public DateTime ReleaseDate { get; set; }
        public string Genre { get; set; }
        public decimal Price { get; set; }

        public class MovieDBContext : DbContext
            public DbSet<Movie> Movies { get; set; }

So when I want to create new movie I'll have an option to upload an image.

Create movie

Related posts

Recent Viewed