Пример #1
0
 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;
 }
Пример #2
0
 public Promotion(Business business)
     : this()
 {
     this.Business = business;
     this.Event = new Event(business);
 }
Пример #3
0
 public Event(Business business)
 {
     this.Venue = new Venue(business);
     this.StartDateTime = DateTime.Now;
     this.EndDateTime = DateTime.Now.AddDays(1);
 }
Пример #4
0
 public Promotion(Business business)
     : this()
 {
     this.Business = business;
     this.Event    = new Event(business);
 }
Пример #5
0
 public BusinessCreateEditModel(AccountBase accountBase, ModelEntities.Business business, Role role)
 {
     this.AccountBase = accountBase;
     this.Business    = business;
     this.Role        = role;
 }