public async Task <JObject> Details(string viewType, string keyword = null)
        {
            switch (viewType)
            {
            default:
                if (!string.IsNullOrEmpty(keyword))
                {
                    var feResult = await ApiLanguageViewModel.Repository.GetSingleModelAsync(
                        model => model.Keyword == keyword && model.Specificulture == _lang).ConfigureAwait(false);

                    return(JObject.FromObject(feResult));
                }
                else
                {
                    var language = new SiocLanguage()
                    {
                        Specificulture = _lang
                    };
                    var result = new RepositoryResponse <ApiLanguageViewModel>()
                    {
                        IsSucceed = true,
                        Data      = (await ApiLanguageViewModel.InitViewAsync(language))
                    };
                    return(JObject.FromObject(result));
                }
            }
        }
        public async Task <RepositoryResponse <ApiLanguageViewModel> > Post([FromBody] ApiLanguageViewModel model)
        {
            if (model != null)
            {
                var result = await model.SaveModelAsync(true).ConfigureAwait(false);

                if (result.IsSucceed)
                {
                    GlobalConfigurationService.Instance.RefreshAll();
                }
                return(result);
            }
            return(new RepositoryResponse <ApiLanguageViewModel>());
        }