Пример #1
0
 // copy constructor
 public FantasticPriceModel(FantasticPriceModel model)
 {
     ListingId   = model.ListingId;
     StartDate   = model.StartDate;
     EndDate     = model.EndDate;
     IsAvailable = model.IsAvailable;
     Price       = model.Price;
     Note        = model.Note;
 }
Пример #2
0
 public static string Stringify(FantasticPriceModel model)
 {
     return(Stringify(model.ListingId, model.StartDate, model.EndDate, model.IsAvailable, model.Price, model.Note));
 }