public ActionResult<IEnumerable<Invitation>> Query() { return Ok(_invitationRepository.Query().Cast<Invitation>()); }