Пример #1
0
    private int SaveUserInDB(User user)
    {
        int userId;
        user.birthday = user.regDate;

        PostAroundServiceClient client = new PostAroundServiceClient();
        userId = client.InsertUpdateUser(user);

        client.Close();
        return userId;
    }