Asp.net – How to handle both 0/1 and false/true values for booleans in requestbody
I'm currently migrating functionalities from an old HTTP API to a new HTTP API. Several endpoints of the api expect objects with nullable boolean values as a JSON object in the requestbody. Modelcode: public class StatusRequest { public bool? Status…