/* * Изменить профиль клиента */ public static lcclient.ChangeClientResponse ChangeClient(lcclient.Client client) { reconnect(); var changeclient_request = new lcclient.ChangeClientRequest(); changeclient_request.ClientData = client; var changeclient_response = lc_client.ChangeClient(changeclient_request); return(changeclient_response); }
public static void getUserSession() { // current_city = (lcsite.City)get("current_city"); // if (current_city == null) // { // var cities = ApiConfig.GetCities(); // current_city = cities.CityData.First(); // } try { user_id = (int)get("user_id"); client = (lcclient.Client)get("client"); if (client == null) { user_id = -1; } }catch (Exception ex) { user_id = -1; } }