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);
 }
Exemple #4
0
 public DateModelsController(KarateKidDbContext context)
 {
     _context = context;
 }