public bool InsertOqcCheckedItems(tblOqcCheckedItems checkedItems) { try { _entity.tblOqcCheckedItems.Add(checkedItems); _entity.SaveChanges(); } catch (Exception ex) { throw ex; } return(true); }
public Result InsertOqcCheckedItems(tblOqcCheckedItems checkedItems) { IProduction iProductionSelect = new WCMS_DAL_Production(); var result = new Result(); try { result.IsSuccess = iProductionSelect.InsertOqcCheckedItems(checkedItems); } catch (Exception ex) { throw ex; } return(result); }
public Result InsertOqcCheckedItems(tblOqcCheckedItems checkedItems) { try { return(productionManager.InsertOqcCheckedItems(checkedItems)); } catch (Exception ex) { //if (log.IsErrorEnabled) // log.Error("Insert Sales Order : " + ex.Message); return(new Result { IsSuccess = false, Message = ex.Message }); } }