mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-23 01:32:16 +00:00
Oops.
This commit is contained in:
parent
7c76a963c8
commit
ac2cf7171b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public static IHtmlString NewestUser(this HtmlHelper hpr)
|
|||
return hpr.Raw("<a href=\"/Profiles/ViewProfile/" + user.DisplayName + "\"><span class=\"glyphicon glyphicon-star\"></span> Our newest user, <strong>" + user.DisplayName + "</strong></a>");
|
||||
}
|
||||
|
||||
public static IHtmlString GetLatestNotifications(this HtmlHelper hpr, string userName)
|
||||
public static IHtmlString GetLatestUnread(this HtmlHelper hpr, string userName)
|
||||
{
|
||||
var db = new ApplicationDbContext();
|
||||
var user = db.Users.FirstOrDefault(x => x.UserName == userName);
|
||||
|
|
Loading…
Reference in a new issue