コード例 #1
0
        public async Task <IActionResult> PatchAsync(string id, [FromBody] Passport resource)
        {
            int idValue = HexadecimalObfuscationCodec.Decode(id);

            return(await base.PatchAsync(idValue, resource));
        }
コード例 #2
0
        public async Task <IActionResult> DeleteAsync(string id)
        {
            int idValue = HexadecimalObfuscationCodec.Decode(id);

            return(await base.DeleteAsync(idValue));
        }
コード例 #3
0
 protected override int GetTypedId(string value)
 {
     return(HexadecimalObfuscationCodec.Decode(value));
 }