public static UserPrimitive GetPrimitiveCopy(this UserPrimitive primitiveToCopy)
        {
            if (primitiveToCopy == null) return null;

                UserPrimitive primitive = new UserPrimitive();

                primitive.Id = primitiveToCopy.Id;

                primitive.Name = primitiveToCopy.Name;

                primitive.Surname = primitiveToCopy.Surname;

                primitive.Password = primitiveToCopy.Password;

                primitive.PasswordSalz = primitiveToCopy.PasswordSalz;

                primitive.Phone = primitiveToCopy.Phone;

                primitive.Deleted = primitiveToCopy.Deleted;

                primitive.Deactivated = primitiveToCopy.Deactivated;

                return primitive;
        }
        public static UserPrimitive GetPrimitive(this User entity)
        {
            UserPrimitive primitive = new UserPrimitive();

                primitive.Id = entity.Id;

                primitive.Name = entity.Name;

                primitive.Surname = entity.Surname;

                primitive.Password = entity.Password;

                primitive.PasswordSalz = entity.PasswordSalz;

                primitive.Phone = entity.Phone;

                primitive.Deleted = entity.Deleted;

                primitive.Deactivated = entity.Deactivated;

                return primitive;
        }
 public void DeleteUser(UserPrimitive userPackage)
 {
     throw new NotImplementedException();
 }