Ejemplo n.º 1
0
 public EventService(EventusPocDbContext dbContext)
 {
     if (dbContext == null)
         throw new ArgumentNullException("dbContext");
     this.dbContext = dbContext;
 }
Ejemplo n.º 2
0
 public EventController()
 {
     db = new EventusPocDbContext("EventusPocDb");
     this.eventService = new EventService(db);
 }
Ejemplo n.º 3
0
 public HomeController()
 {
     dbContext = new EventusPocDbContext("EventusPocDb");
 }