public IActionResult Getallinvitebyid(int id) { Result <IEnumerable <GuestAnswer> > result = _inviteService.getAllInviteById(id); return(new JsonResult(result)); }