public async Task <ApiResult <string> > EditAdmin(SysAdmin parm)
 {
     return(await _adminService.ModifyAsync(parm));
 }
 public async Task <IActionResult> EditAdmin([FromBody] SysAdmin parm)
 {
     return(Ok(await _adminService.ModifyAsync(parm)));
 }
Exemple #3
0
 public async Task <ApiResult <string> > UpdateAdmin([FromBody] SysAdmin parm)
 {
     return(await _sysAdminService.ModifyAsync(parm));
 }