public IActionResult Create(Invite invite) { try { _inviteService.Create(invite); return(Ok()); } catch (Exception ex) { return(BadRequest(ex.Message)); } }