public IActionResult Invite(Message Message) { if (!ModelState.IsValid) { return(BadRequest()); } return(Ok(ProjectHandler.AddPendingInvitation(Message))); }