public IHttpActionResult GetQuestionCustomerForMaterialPageOtherStep(ViewModel.tblQuestionCustomer QuestionCustomer) { try { JArray JsonQuestionCustomer = BisQuestionCustomer.GetQuestionCustomerForMaterialPageOtherStep(QuestionCustomer); return(Ok(JsonQuestionCustomer)); } catch { return(NotFound()); } }
public IHttpActionResult CheckSortSequently() { try { ViewModel.tblQuestionCustomer QuestionCustomer = new ViewModel.tblQuestionCustomer(); JArray JsonQuestionCustomer = BisQuestionCustomer.CheckSortSequently(QuestionCustomer); return(Ok(JsonQuestionCustomer)); } catch { return(NotFound()); } }
public IHttpActionResult GetQuestionCustomerForSignUp() { try { ViewModel.tblQuestionCustomer QuestionCustomer = new ViewModel.tblQuestionCustomer(); JArray JsonQuestionCustomer = BisQuestionCustomer.GetQuestionCustomerForSignUp(QuestionCustomer); return(Ok(JsonQuestionCustomer)); } catch { return(NotFound()); } }
public IHttpActionResult AddQuestionCustomer(ViewModel.tblQuestionCustomer QuestionCustomer) { try { bool ret = BisQuestionCustomer.AddQuestionCustomer(QuestionCustomer); if (ret) { return(Ok(ret)); } else { return(NotFound()); } } catch { return(NotFound()); } }
public IHttpActionResult UpdateUseInMaterialDetail(ViewModel.tblQuestionCustomer QuestionCustomer) { try { bool ret = BisQuestionCustomer.UpdateUseInMaterialDetail(QuestionCustomer); if (ret) { return(Ok(ret)); } else { return(NotFound()); } } catch { return(NotFound()); } }
public JArray GetQuestionCustomer(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.ReturnJsonData("sp_tblQuestionCustomer_GetData", tblQuestionCustomer)); }
public bool DeleteQuestionCustomer(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_Delete", tblQuestionCustomer) > 0); }
public bool ChangeSortInQuestionCustomer(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_ChangeSortInQuestionCustomer", tblQuestionCustomer) > 0); }
public bool UpdateUseInMaterialDetail(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_UpdateUseInMaterialDetail", tblQuestionCustomer) > 0); }
public bool UpdateUseInSignUp(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_UpdateUseInSignUp", tblQuestionCustomer) > 0); }
public bool UpdateQuestionCustomerAsRoot(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_UpdateAsRoot", tblQuestionCustomer) > 0); }
public bool UpdateParentQuestionCustomer(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_UpdateParent", tblQuestionCustomer) > 0); }
public bool AddQuestionCustomer(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.RunProcedure("sp_tblQuestionCustomer_Insert", tblQuestionCustomer) > 0); }
public JArray CheckSortSequently(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.ReturnJsonData("sp_tblQuestionCustomer_CheckSortSequently", tblQuestionCustomer)); }
public JArray GetQuestionCustomerForMaterialPageOtherStep(ViewModel.tblQuestionCustomer tblQuestionCustomer) { return(sqlHelper.ReturnJsonData("sp_tblQuestionCustomer_GetDataForMaterialPageOtherStep", tblQuestionCustomer)); }