public APIDayController(OneDayFlatContext context) { this.db = context; if (!db.Day.Any()) { db.Day.Add(new Day { Booked = true }); db.Day.Add(new Day { Booked = false }); db.SaveChanges(); } }
public FlatTableViewController(OneDayFlatContext context) { _context = context; }
public AccountController(OneDayFlatContext context) { db = context; }
public HomeController(OneDayFlatContext context) { _context = context; }
public DaysController(OneDayFlatContext context) { _context = context; }