Exemple #1
0
 public async Task <ApiResult <string> > AddCodeType(SysCode parm)
 {
     return(await _sysCodeService.AddAsync(parm));
 }
Exemple #2
0
 public async Task <IActionResult> AddCodeType([FromBody] SysCode parm)
 {
     return(Ok(await _sysCodeService.AddAsync(parm)));
 }
Exemple #3
0
 public async Task <ApiResult <string> > Add([FromBody] SysCode model)
 {
     return(await _sysCodeService.AddAsync(model));
 }