public HttpResponseMessage InsertApprove(ApproveVM approveVM) { var message = Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Wrong Parameter"); var result = _iApproveService.Insert(approveVM); if (result) { message = Request.CreateResponse(HttpStatusCode.OK, "Successfully Added"); } return(message); }