public IActionResult GetLstByLangID(int langId) { var res = _commonResourcesServices.GetLstByLangId(langId); if (res != null) { return(Ok(res)); } return(BadRequest("Can not create new data")); }