private async void AddMember() { if (IsValidMember()) { dialogService.ShowProgress(); RequestAddMember request = new RequestAddMember { Document = NewMember.Document, Email = NewMember.Email, DocumentType = NewMember.DocumentType, IdReference = NewMember.IdReference, Names = NewMember.Names, Phone = NewMember.Phone, Surnames = NewMember.Surnames }; ResponseAddMember response = await apiService.AddMember(request); dialogService.HideProgress(); ValidateResponseAddMember(response); } else { await dialogService.ShowMessage("Agregar familiar", AppResources.AllFieldsRequired); } }