public string Delete(int entityId) { try { if (entityId < 1) { return("Hatalı Tedarikçi Bilgisi"); } return(supplierDal.Delete(entityId)); } catch (Exception ex) { return(ex.Message); } }
public bool Delete(Supplier supplier) { bool isDelete = _supplier.Delete(supplier); return(isDelete); }
internal bool Delete(int id) { status = _supplierDal.Delete(id); return(status); }