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