private readonly DataContext _context; public [Name]Controller(DataContext context) { _context = context; }