public string Update(Supplier entity) { try { if (!IsSupplierComplete(entity)) { return("Hatalı Tedarikçi Bilgisi"); } return(supplierDal.Update(entity)); } catch (Exception ex) { return(ex.Message); } }
public bool Update(Supplier supplier) { bool isUpdate = _supplier.Update(supplier); return(isUpdate); }
/// <summary> /// MaJ d'un furnisseur /// </summary> /// <param name="sup">Supplier</param> public static void UpdateSupplier(Supplier sup) { SupplierDal.Update(sup); }