public async Task <IActionResult> DeleteRole([FromBody] ParmString obj) { var list = Utils.StrToListString(obj.parm); return(Ok(await _settingService.UpdateAsync(m => new SysAppSetting() { IsDel = true }, m => list.Contains(m.Guid)))); }
public async Task <ApiResult <string> > DeleteRole(string parm) { var list = Utils.StrToListString(parm); return(await _settingService.UpdateAsync(m => new SysAppSetting() { IsDel = true }, m => list.Contains(m.Guid))); }
public async Task <ApiResult <string> > EditRole(SysAppSetting parm) { return(await _settingService.UpdateAsync(parm)); }