public GroupsController(KarateKidDbContext context) { _context = context; foreach (Groups item in _context.Groups) { item.AddNewGroupToList(item.groupName); } }
public KarateKidsController(KarateKidDbContext context) { _context = context; GroupsController GroupsController = new GroupsController(_context); DateModelsController dateModelsController = new DateModelsController(_context); }
public HomeController(KarateKidDbContext context) { _context = context; GroupsController GroupsController = new GroupsController(_context); }
public DateModelsController(KarateKidDbContext context) { _context = context; }