public IHttpActionResult ViewCountryByPage(int max, int page, string sort_col, string sort_dir, string search = null)
        {
            Paged_CountryModel objList = new Paged_CountryModel();

            try
            {
                objList = objCountryVM.ListCountry(max, page, search, sort_col, sort_dir);
            }
            catch (Exception ex)
            {
                ErrorHandlerClass.LogError(ex);
            }

            return(Ok(new { results = objList }));
        }