public async Task <IActionResult> PatchAsync(string id, [FromBody] Passport resource) { int idValue = HexadecimalObfuscationCodec.Decode(id); return(await base.PatchAsync(idValue, resource)); }
public async Task <IActionResult> DeleteAsync(string id) { int idValue = HexadecimalObfuscationCodec.Decode(id); return(await base.DeleteAsync(idValue)); }
protected override int GetTypedId(string value) { return(HexadecimalObfuscationCodec.Decode(value)); }