public IActionResult Find(string lang_no, string lang_na, string search_type, string submitbutton, string language_state)
        {
            if (!LoginUtil.CheckIfLoggedIn(HttpContext))
            {
                return(View(nameof(Index)));
            }

            StateOfRequest mState;

            if (string.IsNullOrEmpty(language_state))
            {
                mState = new StateOfRequest("LangNo");
            }
            else
            {
                mState = JsonUtil.GetObjectFromJsonString <StateOfRequest>(language_state);
            }
            mState.StartTime = DateTime.Now;
            string temp_state = JsonUtil.SetJsonStringFromObject(mState);

            if (string.IsNullOrEmpty(lang_no))
            {
                lang_no = string.Empty;
            }
            lang_no = lang_no.Trim();

            if (string.IsNullOrEmpty(lang_na))
            {
                lang_na = string.Empty;
            }
            lang_na = lang_na.Trim();

            string sButton = submitbutton.ToUpper();

            if (sButton == "CANCEL")
            {
                temp_state = JsonUtil.SetJsonStringFromObject(mState);
                return(RedirectToAction(nameof(LanguagesList), new { language_state = temp_state }));
            }

            if (string.IsNullOrEmpty(search_type))
            {
                // search_type not defined
                return(View());
            }

            string searchType = search_type.Trim();

            mState.OrderBy = searchType;
            Language language = new Language(); // new object

            language.LangNo = lang_no;          // for order by "LangNo"
            language.LangNa = lang_na;          // for order by "LangNa"

            List <Language> languagesTemp = _languagesManager.FindOnePageOfLanguagesForOneLanguage(mState, language, -1);

            temp_state            = JsonUtil.SetJsonStringFromObject(mState);
            ViewBag.LanguageState = temp_state;

            return(View(nameof(LanguagesList), languagesTemp));
        }