Beispiel #1
0
        public static User CreateUser(User user)
        {
            CheckToInit();
            var dbUser = UserEntity.CreateFromUser(user);

            Entities.Users.Add(dbUser);
            Entities.SaveChanges();
            return(dbUser);
        }