public List<MyMessage> GetMessagesByUserId(int userId, string currLat, string currLon, int regionId, int timeZone) { GetAllMessagesTableAdapter messagesAdapter = new GetAllMessagesTableAdapter(); PostAroundMeDataSet.GetAllMessagesDataTable dtResult = messagesAdapter.GetMessageByUserID(userId); List<MyMessage> lstResult = new List<MyMessage>(); lstResult = MessagesTranslator(dtResult, currLat, currLon, regionId, timeZone, userId); return lstResult; }