常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> GetSetting(int id) { if (id <= 0) { return(BadRequest($"{id} is less than or equal 0")); } var role = await _appSettingsService.GetSetting(id); return(Ok(role)); }