public Listing(Guid id, Guid sellerId, ListingFormat format) { if (sellerId == Guid.Empty) throw new ArgumentNullException("Seller Id cannot be null"); Id = id; Format = format; SellerId = sellerId; }
public Listing(Guid id, Guid sellerId, ListingFormat format) { if (sellerId == Guid.Empty) { throw new ArgumentNullException("Seller Id cannot be null"); } Id = id; Format = format; SellerId = sellerId; }