Example #1
0
        //To Sahre Pdf Via Email
        private async void SharePdf_Tapped(object obj)
        {
            SendDocumentModel model = new SendDocumentModel();

            model.documentDetailId = mModel.id;
            model.subject          = "Brainer Document";
            model.email            = SignInActivity.Email;

            var response = await apiManager.ShareDocument(model);

            if (response)
            {
                await App.Current.MainPage.DisplayAlert("Message", "Document Mailed Successfully", "Ok");
            }
        }
Example #2
0
 public Task <bool> ShareDocument(SendDocumentModel user)
 {
     return(restService.ShareDocument(user));
 }