Ejemplo n.º 1
0
 private void UserChangedPass()
 {
     using (UserEventsListContext db = new UserEventsListContext())
     {
         UserEventsList UserEvent = new UserEventsList {
             User_login = LoginStroke, Event_id = "2"
         };
         db.UserEvents.Add(UserEvent);
         db.SaveChanges();
     }
 }
Ejemplo n.º 2
0
 public void UserExit()
 {
     using (UserEventsListContext db = new UserEventsListContext())
     {
         UserEventsList UserEvent = new UserEventsList {
             User_login = LoginStroke, Event_id = "1"
         };
         db.UserEvents.Add(UserEvent);
         db.SaveChanges();
     }
 }