示例#1
0
 public async Task RestoreAsync(FileEntity input)
 {
     input.IsDeleted = false;
     await _fileRepository.UpdateAsync(input);
 }
示例#2
0
 public async Task DeleteAsync(FileEntity input)
 {
     await _fileRepository.DeleteAsync(input);
 }
示例#3
0
 public async Task UpdateAsync(FileEntity input)
 {
     input.LastModificationTime = DateTime.Now;
     await _fileRepository.UpdateAsync(input);
 }
示例#4
0
 public async Task <FileEntity> CreateAsync(FileEntity input)
 {
     return(await _fileRepository.InsertAsync(input));
 }