public BsonValue Execute(DbEngine engine, StringScanner s) { var fs = new LiteFileStorage(engine); var id = this.ReadId(s); return(fs.Delete(id)); }
public BsonValue Execute(DbEngine engine, StringScanner s) { var fs = new LiteFileStorage(engine); var id = this.ReadId(s); return fs.Delete(id); }
/// <summary> /// Removes file with given id /// </summary> /// <return>true of remove succeded</return> public bool Remove(String id) { return(_fileStorage.Delete(id)); }