예제 #1
0
파일: Venue.cs 프로젝트: akoesnan/PraLoup
 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
파일: Event.cs 프로젝트: akoesnan/PraLoup
 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;
 }