Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created October 7, 2018 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/7cc9ae3c6a35c99739e4382e93a338c8 to your computer and use it in GitHub Desktop.
Save icebeam7/7cc9ae3c6a35c99739e4382e93a338c8 to your computer and use it in GitHub Desktop.
StoreWebApi: ProductDTO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StoreWebApi.DTOs
{
public class ProductDTO
{
public int Id { get; set; }
public string Name { get; set; }
public decimal UnitPrice { get; set; }
public List<OrderDetailDTO> OrderDetail { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment