WIP chat connections
This commit is contained in:
parent
efc1a80e5b
commit
371151ebde
7 changed files with 1247 additions and 21 deletions
|
|
@ -54,7 +54,7 @@ namespace Yavsc.Controllers
|
|||
if (User.Identity.IsAuthenticated) {
|
||||
ViewBag.IsAuthenticated=true;
|
||||
string uid = User.GetUserId();
|
||||
ViewBag.Contacts = DbContext.Contacts.Include(c=>c.User).Where(c=>c.OwnerId == uid)
|
||||
ViewBag.Contacts = DbContext.Contacts.Where(c=>c.OwnerId == uid)
|
||||
;
|
||||
} else ViewBag.IsAuthenticated=false;
|
||||
return View();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue