Attempt to fix bug with deleting...

This commit is contained in:
Michael 2017-03-26 11:23:12 -04:00
parent d0317c159b
commit bcb75147a7

View file

@ -51,7 +51,7 @@ namespace Project_Unite.Controllers
{ {
DeleteTopic(topic); DeleteTopic(topic);
} }
db.ForumCategories.Remove(db.ForumCategories.FirstOrDefault(x => x.Id == start.Id)); db.ForumCategories.Remove(start);
} }