public async Task RestoreAsync(FileEntity input) { input.IsDeleted = false; await _fileRepository.UpdateAsync(input); }
public async Task DeleteAsync(FileEntity input) { await _fileRepository.DeleteAsync(input); }
public async Task UpdateAsync(FileEntity input) { input.LastModificationTime = DateTime.Now; await _fileRepository.UpdateAsync(input); }
public async Task <FileEntity> CreateAsync(FileEntity input) { return(await _fileRepository.InsertAsync(input)); }