public async Task <string> ChangeLanguage(ChangeLanguageRequest request) { await _localizeService.SetLanguageAsync(request.Language); return(Json(true)); }
public async Task <string> ChangeLanguage(ChangeLanguageRequest request) { await _localizeService.SetLanguageAsync(request.Language); return(Json(new HttpResultEntity(1, "ok", null))); }