using BLL; using Model; using System; using System.Web.Http; using System.Web.Mvc; namespace WebAPI.Controllers { /// /// 问题通知单 /// public class ProblemNoticeController : ApiController { /// /// 获取整改详情详情 /// /// /// public Model.ResponeData GetDetailItem(string proNoticeCId) { var responeData = new Model.ResponeData(); try { responeData.data = ProblemNoticeService.GetDetailItem(proNoticeCId); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } /// /// 保存整改 /// /// /// public Model.ResponeData SaveDetailItem(ProblemNoticeDetailInput model) { var responeData = new Model.ResponeData(); try { ProblemNoticeService.SaveDetailItem(model); } catch (Exception ex) { responeData.code = 0; responeData.message = ex.Message; } return responeData; } } }