public IHttpActionResult CopyInquiryPositionByID(int inquiryPosID) { WebResponseContentModel <InquiryPositionModel> tmpUser = new WebResponseContentModel <InquiryPositionModel>(); Del <InquiryPositionModel> responseStatusHandler = ProcessContentModel; try { tmpUser.Content = inquiryRepo.CopyInquiryPositionByID(inquiryPosID); responseStatusHandler(tmpUser); } catch (Exception ex) { responseStatusHandler(tmpUser, ex); return(Json(tmpUser)); } return(Json(tmpUser)); }