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