コード例 #1
0
 public async Task <IActionResult> AddAdvList([FromBody] CmsAdvList parm)
 {
     parm.Guid = Guid.NewGuid().ToString();
     return(Ok(await _listService.AddAsync(parm)));
 }
コード例 #2
0
 public async Task <ApiResult <string> > AddAdvList([FromBody] CmsAdvList parm)
 {
     parm.Guid = Guid.NewGuid().ToString();
     return(await _listService.AddAsync(parm));
 }