コード例 #1
0
 public IActionResult MoveItems(long id, [FromBody] List <long> moveIds)
 {
     return(new JsonResult(DocumentService.MoveItems(PwdManService, GetToken(), id, moveIds)));
 }
コード例 #2
0
 public IActionResult GetItems(long id)
 {
     return(new JsonResult(DocumentService.GetItems(PwdManService, GetToken(), id)));
 }
コード例 #3
0
 public IActionResult DeleteItems(long id, [FromBody] List <long> delIds)
 {
     return(new JsonResult(DocumentService.DeleteItems(PwdManService, GetToken(), id, delIds)));
 }
コード例 #4
0
        public IActionResult DownloadDocument(long id)
        {
            var result = DocumentService.DownloadDocument(PwdManService, GetToken(), id);

            return(File(result.Stream, result.ContentType, result.FileName));
        }