public EventService(EMSContext context) { _context = context; _service = new EMS.Data.EventRepository(_context); }