refabrique
This commit is contained in:
parent
d9835539d5
commit
7c603b3cec
17 changed files with 1797 additions and 139 deletions
|
|
@ -31,8 +31,8 @@ namespace Yavsc.Controllers
|
|||
public ActionResult Index()
|
||||
{
|
||||
var latestPosts = _context.Blogspot.Where(
|
||||
x => x.visible == true
|
||||
).OrderBy(x => x.modified).Take(25).ToArray();
|
||||
x => x.Visible == true
|
||||
).OrderBy(x => x.Modified).Take(25).ToArray();
|
||||
return View(latestPosts);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue