Sample Code/MovieHunter.API/Models/MovieRepository.cs
/// <summary>
/// Creates a new product with default values
/// </summary>
/// <returns></returns>
Creates a new product with default values
Creates a new product with default values
internal Movie Create()
        {
            Movie movie = new Movie
            {
                ReleaseDate = DateTime.Now
            };
            return movie;
        }
internal Movie Create ( ) { Movie movie = new Movie { ReleaseDate = DateTime . Now } ; return movie ; }
Creates a new product with default values
Creates a new product with default values
None