public bool UpdateProdMap(Prod_CodeMap model) { if (pcmInstance.Update(model) > 0) { return true; } return false; }
public bool AddProdMap(Prod_CodeMap model) { if (pcmInstance.Add(model) > 0) { return true; } return false; }
public bool DeleteProdMap(Prod_CodeMap model) { model.Stat = 1; if (pcmInstance.Update(model) > 0) { return true; } return false; }