public void Delete(Guid id) { var file = _repository.Get(id); _repository.Delete(file); _fileOperation.Delete(file.Id); }