public AccountRequest(DataPackage data) { SQLService sql = new SQLService(); dataRespect.User_IP = data.User_IP; LoginData loginData = new LoginData(); loginData.User_password = convert.ConvertToPassword(data.Data); loginData.User_id = sql.AccountRequest(loginData.User_password); dataRespect.Data = convert.ConvertToSend(loginData); }
public AccountRequest(DataPackage data) { SQLService sql = new SQLService(); dataResponse.Client = data.Client; LoginData loginData = convert.ConvertToClass(data.Data); loginData.User_id = sql.AccountRequest(loginData.User_password); dataResponse.Data = convert.ConvertToBytes(loginData); }