public async Task UpdateAsync(UpdateIdentityResourceViewModel model) { var command = _mapper.Map <UpdateIdentityResourceCommand>(model); await _bus.SendCommand(command); }
public async Task <ActionResult <JsonResponse <bool> > > Update([FromBody] UpdateIdentityResourceViewModel model) { await _identityResourceService.UpdateAsync(model); return(JsonResponse(true)); }