public static IActionResult BadModel(this ControllerBase controller, string key, string errorMessage)
 {
     controller.ModelState.AddModelError(key, errorMessage);
     return(controller.BadModel());
 }