public MayorInfoRepository(MayorInfoContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public MayorsController(MayorInfoContext context) { _context = context; }