public async Task <ApiResult <string> > EditClass([FromBody] CmsAdvClass parm) { parm.SiteGuid = SiteTool.CurrentSite?.Guid; return(await _classService.UpdateAsync(parm)); }
public async Task <IActionResult> EditClass([FromBody] CmsAdvClass parm) { parm.SiteGuid = SiteGuid; return(Ok(await _classService.UpdateAsync(parm))); }
public async Task <ApiResult <string> > EditClass(CmsAdvClass parm) { return(await _classService.UpdateAsync(parm)); }