public HttpResponseMessage addTerminalfeedingloc(PM_BPM_TERMINAL_FEEDING_LOC definitions) { definitions.CreatedOn = SSGlobalConfig.Now; PM_BPM_TERMINAL_FEEDING_LOC bpmExt = terminallocBO.Insert(definitions); if (bpmExt != null) { return(Request.CreateResponse(HttpStatusCode.OK, "新增成功")); } else { return(Request.CreateResponse(HttpStatusCode.InternalServerError, "新增失败")); } }
public void updateTerminalfeedingloc(PM_BPM_TERMINAL_FEEDING_LOC definitions) { definitions.CreatedOn = SSGlobalConfig.Now; terminallocBO.Update(definitions); }