public CorralRepository(MyLapsContext context) { _context = context; _context.Database.EnsureCreated(); }