pull/1614/head
tidusjar 7 years ago
parent 04117329c6
commit 0dfe878893

@ -62,6 +62,11 @@ namespace Ombi.Store.Repository.Requests
public async Task Update(MovieRequests request)
{
if (Db.Entry(request).State == EntityState.Detached)
{
Db.MovieRequests.Attach(request);
Db.Update(request);
}
await Db.SaveChangesAsync();
}

Loading…
Cancel
Save