public static int ToInt32(this Status200 @enum) => ToInt32 <Status200>(@enum);
/* IMPL NOTES * * The goal of these overrides is to add type safety to the way in which * int and string values are applied to the IStatusResponse obj by * leveraging enums and handling the conversion of enum values to ints/strings * in a centralized place so in the future you don't have diff devs doing conversions * in diff ways assigning random values that hold no meaning. * * This isolates the way in which status are set so they are set in a consistent * way time after time */ //Status200 override public static void SetStatusResponse(this IStatusResponse statusResponse, Status200 status, StatusMessage statusMsg, List <StatusDetail> statusDetails = null) => SetStatusResponse(statusResponse, status.ToInt32(), statusMsg, statusDetails);