예제 #1
0
 public Event(EventForm Input)
 {
     Confirmed         = false;
     EventVendors      = new List <VendorToEvent>();
     AreaOfHouse       = Input.AreaOfHouse;
     OpenHouseDateTime = new DateTime(Input.OpenHouseDate.Ticks + Input.OpenHouseTime.Ticks);
 }
예제 #2
0
 public Event(EventForm Input, Broker broker, Listing listing)
 {
     Confirmed         = false;
     EventVendors      = new List <VendorToEvent>();
     AreaOfHouse       = Input.AreaOfHouse;
     OpenHouseDateTime = new DateTime(Input.OpenHouseDate.Ticks + Input.OpenHouseTime.TimeOfDay.Ticks);
     Broker            = broker;
     BrokerId          = broker.UserId;
     Listing           = listing;
     ListingId         = listing.ListingId;
 }