示例#1
0
 public async Task <ApiResult <string> > DeleteClass([FromBody] ParmString obj)
 {
     return(await _classService.DeleteAsync(obj.parm));
 }
示例#2
0
 public async Task <IActionResult> DeleteClass([FromBody] ParmString obj)
 {
     return(Ok(await _classService.DeleteAsync(obj.parm)));
 }
示例#3
0
 public async Task <ApiResult <string> > DeleteClass(string parm)
 {
     return(await _classService.DeleteAsync(parm));
 }