public async Task <ActionResult> AddMemberAction(FormOutput data)
 {
     return(await WithExceptionHandlingAsync(
                async token =>
     {
         await graphService.AddMember(data.SelectedTeam, data.UpnInput, isOwner: false);
         return new FormOutput()
         {
             SuccessMessage = "Done",
         };
     }
                ));
 }
        public async Task <String> AddMember(Member member)
        {
            try
            {
                string groupId     = member.groupId;
                string accessToken = await AuthProvider.Instance.GetUserAccessTokenAsync();

                await graphService.AddMember(groupId, member.id, isOwner : false);

                return("Success");
            }
            catch (Exception e)
            {
                return(e.Message);
            }
        }