mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +00:00
God I hate ghost keystrokes.
This commit is contained in:
parent
0c1c47c98b
commit
0949277bd1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace Project_Unite.Controllers
|
||||||
}
|
}
|
||||||
|
|
||||||
[Authorize]
|
[Authorize]
|
||||||
public ActionResult DislikePosts(string id)
|
public ActionResult DislikePost(string id)
|
||||||
{
|
{
|
||||||
var db = new ApplicationDbContext();
|
var db = new ApplicationDbContext();
|
||||||
var topic = db.UserPosts.FirstOrDefault(x => x.Id == id);
|
var topic = db.UserPosts.FirstOrDefault(x => x.Id == id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue