/// <summary> /// makes a change in 'raktMennyiseg' table, delete a record /// </summary> /// <param name="index">the record index</param> /// <param name="userId">who delets it</param> public void setDeleteRecProdQuantity(string index, string stripping) { try { modelQuantities = new ProductsModelStrippingTable(dbci, parent); modelQuantities.deleteProdQuantityRecord(index, stripping, userId); } catch (Exception e) { errorHandle(e.Message); } }
/// <summary> /// makes a change in 'raktMennyiseg' table, delete a record /// </summary> /// <param name="index">the record index</param> /// <param name="userId">who delets it</param> public void setDeleteRecProdQuantity(string index, string stripping) { try { modelQuantities = new ProductsModelStrippingTable(dbci, parentMain); modelQuantities.deleteProdQuantityRecord(index, stripping, userId); } catch (ErrorServiceDeleteRecord e) { throw new ErrorServiceProd(e.Message); } }