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