예제 #1
0
        public async Task <PartialViewResult> DeletePersonDocumentsList(string personId, string docs)
        {
            IEnumerable <PersonDocumentViewModel> documents = JsonConvert.DeserializeObject <IEnumerable <PersonDocumentViewModel> >(docs);
            await _mgrFcc.DeletePersonDocuments(documents.Select(e => e.FileContentId));

            return(await LoadPersonDocumentsPartialView(personId));
        }