public async Task <IActionResult> AuthenMC([FromBody] AuthenMcRequestModel model) { if (model == null) { return(ToResponse(false)); } var result = await _svMcredit.AuthenByUserId(model.UserId, model.TableToUpdateIds); return(ToResponse(result)); }
public async Task <JsonResult> AuthenMC(AuthenMCModel model) { if (model == null) { return(ToJsonResponse(false)); } var result = await _svMCredit.AuthenByUserId(model.UserId, model.TableToUpdateIds); return(ToJsonResponse(true, result, result)); }