public Event(EventForm Input) { Confirmed = false; EventVendors = new List <VendorToEvent>(); AreaOfHouse = Input.AreaOfHouse; OpenHouseDateTime = new DateTime(Input.OpenHouseDate.Ticks + Input.OpenHouseTime.Ticks); }
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; }