public async Task <ApiResult <string> > DeleteClass([FromBody] ParmString obj) { return(await _classService.DeleteAsync(obj.parm)); }
public async Task <IActionResult> DeleteClass([FromBody] ParmString obj) { return(Ok(await _classService.DeleteAsync(obj.parm))); }
public async Task <ApiResult <string> > DeleteClass(string parm) { return(await _classService.DeleteAsync(parm)); }