Ejemplo n.º 1
0
 public ActionResult DeletDialog(DeleteDocumentModel model)
 {
     var viewModel = new DeleteDialogViewModel
     {
         Model = model,
         Caption = Phrases.PleaseConfirmYourAction
     };
     return View(viewModel);
 }
Ejemplo n.º 2
0
 public async Task<ActionResult> DeleteDocument(DeleteDocumentModel model)
 {
     await _srvKycDocumentsManager.DeleteAsync(model.ClientId, model.DocumentId);
     return this.JsonRequestResult("#clientDocuments", Url.Action("Index", new {id = model.ClientId}));
 }