public IHttpActionResult GetRecallStatuses() { WebResponseContentModel <List <InquiryStatusModel> > tmpUser = new WebResponseContentModel <List <InquiryStatusModel> >(); Del <List <InquiryStatusModel> > responseStatusHandler = ProcessContentModel; try { tmpUser.Content = inquiryRepo.GetInquiryStatuses(); responseStatusHandler(tmpUser); } catch (Exception ex) { responseStatusHandler(tmpUser, ex); return(Json(tmpUser)); } return(Json(tmpUser)); }