public IView Add(string name, string address, string description)
 {
     this.Authorize(new [] { Roles.VenueAdmin });
     var newVenue = new Venue(name, address, description, this.CurrentUser);
     this.Data.Venues.Add(newVenue);
     return this.View(newVenue);
 }
 public Rooms(Venue venue)
 : base(venue)
 {
 }
Esempio n. 3
0
 public Add(Venue venue)
 : base(venue)
 {
 }
 public Details(Venue venue)
 : base(venue)
 {
 }