async public Task <IHttpActionResult> Post(MitchellClaimType claim) { if (string.IsNullOrEmpty(claim.ClaimNumber)) { return(BadRequest("ClaimNumber is required")); } if (claim.Vehicles == null) { return(BadRequest("Vehicle Details not availble in input request")); } return(Ok(await _claimsService.CreateClaim(claim))); }