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