public async Task <AuthResponse> Login(AuthMessage authorizeMessage) { var result = await HttpNetworkService.Post( JsonDecoder.Serialize(authorizeMessage), string.Concat(baseLobbyUrl, NetworkConfig.LoginUrl) ); var response = new AuthResponse(); if (result.Status == 200) { response = JsonDecoder.Deserialize <AuthResponse>(result.Message, MessagesTypes.LoginResponse); response.IsSuccesful = true; } else { //todo } return(response); }