Пример #1
0
        /// <summary>
        /// Eric Walton
        /// 2017/06/02
        ///
        /// Create Commercial Account method
        /// Trys to create a commercial account
        /// If successful it returns true
        /// If unsuccessful it returns false
        /// </summary>
        /// <param name="commercialCustomer"></param>
        /// <returns></returns>
        public bool CreateCommercialAccount(CommercialCustomer commercialCustomer)
        {
            bool result = false;

            try
            {
                result = 1 == CustomerAccessor.CreateCommercialCustomer(commercialCustomer);
            }
            catch (Exception)
            {
                throw;
            }
            return(result);
        }