public HttpResponseMessage AddMovie([FromBody] AddMovieRequest request) { var response = apiService.AddMovie(request); if (response == true) { return(Request.CreateResponse <bool>(HttpStatusCode.OK, response)); } else { return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, " Movie Not Added")); } }