public Venue(Business b) : base() { this.Name = b.Name; this.StreetLine1 = b.Address.StreetLine1; this.StreetLine2 = b.Address.StreetLine2; this.City = b.Address.City; this.UsState = b.Address.UsState; this.NonUsState = b.Address.NonUsState; this.Country = b.Address.Country; }
public Promotion(Business business) : this() { this.Business = business; this.Event = new Event(business); }
public Event(Business business) { this.Venue = new Venue(business); this.StartDateTime = DateTime.Now; this.EndDateTime = DateTime.Now.AddDays(1); }
public BusinessCreateEditModel(AccountBase accountBase, ModelEntities.Business business, Role role) { this.AccountBase = accountBase; this.Business = business; this.Role = role; }