mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-03 13:17:33 +00:00
Attempt to fix bug with deleting...
This commit is contained in:
parent
d0317c159b
commit
bcb75147a7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue