Beispiel #1
0
 public virtual Task DeleteAsync(FileEntity entity)
 {
     return(Task.Run(() => Delete(entity)));
 }
Beispiel #2
0
 public virtual void Delete(FileEntity entity)
 {
     _repository.Delete(entity);
 }
Beispiel #3
0
 public virtual Task <FileEntity> AddAsync(FileEntity entity)
 {
     return(Task.FromResult(Add(entity)));
 }
Beispiel #4
0
 public virtual FileEntity Add(FileEntity entity)
 {
     return(_repository.Add(entity));
 }
Beispiel #5
0
 public virtual Task <FileEntity> UpdateAsync(FileEntity entity)
 {
     return(Task.FromResult(Update(entity)));
 }
Beispiel #6
0
 public virtual FileEntity Update(FileEntity entity)
 {
     return(_repository.Update(entity));
 }