fixes #327 - Delete immediately update library

pull/702/head
Luke Pulverenti 12 years ago
parent adab6e21e5
commit 888d5ee836

@ -295,7 +295,14 @@ namespace MediaBrowser.Api
/// Deletes the specified request.
/// </summary>
/// <param name="request">The request.</param>
public async void Delete(DeleteItem request)
public void Delete(DeleteItem request)
{
var task = DeleteItem(request);
Task.WaitAll(task);
}
private async Task DeleteItem(DeleteItem request)
{
var item = DtoBuilder.GetItemByClientId(request.Id, _userManager, _libraryManager);

Loading…
Cancel
Save