dropping GCM support
This commit is contained in:
parent
02160f1eaf
commit
df9ff16c5c
36 changed files with 6228 additions and 149 deletions
|
|
@ -5,7 +5,6 @@ using Microsoft.AspNet.Diagnostics;
|
|||
using Microsoft.AspNet.Authorization;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using System.Linq;
|
||||
using System.Security.Claims;
|
||||
using Microsoft.Data.Entity;
|
||||
|
|
@ -93,7 +92,7 @@ namespace Yavsc.Controllers
|
|||
if (User.Identity.IsAuthenticated) {
|
||||
ViewBag.IsAuthenticated=true;
|
||||
string uid = User.GetUserId();
|
||||
ViewBag.Contacts = _dbContext.Contacts.Where(c=>c.OwnerId == uid)
|
||||
ViewBag.Contacts = _dbContext.Contact.Where(c=>c.OwnerId == uid)
|
||||
;
|
||||
} else ViewBag.IsAuthenticated=false;
|
||||
return View();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue