Эти два утверждения эквивалентны?
return StatusCode(HttpStatusCode.BadRequest);
и
return BadRequest();