public async Task <ApiResult <string> > AddRole(SysAppSetting parm)
 {
     parm.Guid = Guid.NewGuid().ToString();
     return(await _settingService.AddAsync(parm));
 }
Exemple #2
0
 public async Task <IActionResult> AddRole([FromBody] SysAppSetting parm)
 {
     parm.Guid = Guid.NewGuid().ToString();
     return(Ok(await _settingService.AddAsync(parm)));
 }