Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search)

This commit is contained in:
Mark McDowall 2011-08-26 17:59:51 -07:00
commit ac3c3386fc
4 changed files with 83 additions and 5 deletions

View file

@ -63,5 +63,10 @@ namespace NzbDrone.Core.Providers
return history.FirstOrDefault();
}
public virtual void Delete(int historyId)
{
_database.Delete<History>(historyId);
}
}
}