Exemple #1
0
 private int GetLoginInFromAspNetUserId(string aspnetUserId)
 {
     using (cppPLUSEntities context = new cppPLUSEntities())
     {
         int result = context.PersonalMasters.Where(w => w.ASPID == aspnetUserId).Select(s => s.UserID).First();
         return(result);
     }
 }