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