public void Remove(int id, Guid identityToken) { try { _fileService.RemoveFileByIdAndIdentityToken(id, identityToken); } catch (Exception) { } }
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); }