Changed dynamic to IHttpActionResult in validation controller