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);
 }
Exemplo n.º 2
0
 public Rooms(Venue venue)
 : base(venue)
 {
 }
Exemplo n.º 3
0
 public Add(Venue venue)
 : base(venue)
 {
 }
 public Details(Venue venue)
 : base(venue)
 {
 }