Exemplo n.º 1
0
 public void CreateUser(string FirstName,string LastName,string Login,DateTime BirthDay,string email)
 {
     User user = new User
                     {
                         BirthDate = BirthDay,
                         Email = email,
                         FirstName = FirstName,
                         LastName = LastName,
                         Login = Login
                     };
     this.dbContext.Entry(user).State = EntityState.Added;
     this.dbContext.SaveChanges();
 }
Exemplo n.º 2
0
 public void CreateUser(User user)
 {
     this.dbContext.Entry(user).State = EntityState.Added;
     this.dbContext.SaveChanges();
 }
Exemplo n.º 3
0
 public IList<User> GetPossibleFriednsForUserByInterests(User user)
 {
     throw new NotImplementedException();
 }