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