public void Update(BllFile entity) { if (entity == null) { return; } UnitOfWork?.FileRepository?.Update(entity.ToDalFile()); UnitOfWork?.Commit(); }
public void UpdateFile(BllFile file) { fileRepository.Update(file.ToDalFile()); uow.Commit(); }
public void DeleteFile(BllFile file) { fileRepository.Delete(file.ToDalFile()); uow.Commit(); }