Example #1
0
 public bool UpdateProperty(Property newProperty)
 {
     try
     {
         OperationsObj = new SellerOperations();
         return(OperationsObj.UpdateProperty(newProperty));
     }
     catch (SellerException)
     {
         throw;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        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);
        }