public async Task <JsonResult> Update(int profileId, RevokeSimpleUpdate model) { await _bizRevokeDebt.UpdateSimpleAsync(model, GlobalData.User.IDUser, profileId); return(ToJsonResponse(true)); }
public async Task <IActionResult> Update(int profileId, [FromBody] RevokeSimpleUpdate model) { var result = await _bizRevoke.UpdateSimpleAsync(model, profileId); return(ToResponse(result)); }