public bool UpdateProperty(Property newProperty) { try { OperationsObj = new SellerOperations(); return(OperationsObj.UpdateProperty(newProperty)); } catch (SellerException) { throw; } catch (System.Exception ex) { throw ex; } }
public bool UpdateProperty(Property newProperty) { bool sellerAdded = false; try { e = new SellerOperations(); { e.UpdateProperty(newProperty); } } catch (UserException) { throw; } catch (System.Exception ex) { throw ex; } return(sellerAdded); }