public async Task <IHttpActionResult> GetUnapprovedBookingByUserId(string id) { var listOfBookings = await bookingServices.GetListOfUnapprovedBookingsByUserId(id); if (listOfBookings == null) { return(ResponseMessage(Request.CreateResponse(HttpStatusCode.BadRequest, "There is no booking associated with that application user ID."))); } return(Ok(listOfBookings)); }