public List <PaymentOption> get_by_search(string keywords = "", Int32 languageId = 0, Int32 pageSize = 0, Int32 pageNumber = 0, string sortField = "", string sortOrder = "") { // Create the string array string[] wordArray = new string[] { "" }; // Recreate the array if keywords is different from null if (keywords != null) { wordArray = keywords.Split(' '); } // Create the list to return List <PaymentOption> posts = PaymentOption.GetBySearch(wordArray, languageId, pageSize, pageNumber, sortField, sortOrder); // Return the list return(posts); } // End of the get_by_search method