コード例 #1
0
 public void Remove(int id, Guid identityToken)
 {
     try
     {
         _fileService.RemoveFileByIdAndIdentityToken(id, identityToken);
     }
     catch (Exception)
     {
     }
 }
コード例 #2
0
 public string RemoveSubmissionFile(int id, Guid identityToken)
 {
     //List<BaseFileViewModel> files = new List<BaseFileViewModel>();
     try
     {
         _fileService.RemoveFileByIdAndIdentityToken(id, identityToken);
         //files = _fileService.GetFilesBySubmission(submissionId);
     }
     catch (Exception)
     {
     }
     return(string.Empty);
     //return PartialView("_SubmissionFilePartial", files);
 }