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