コード例 #1
0
        /// <summary>
        /// Daniel Brown
        /// Created
        /// 2017/03/04
        ///
        /// Approves a charity application
        /// </summary>
        /// <param name="charityInstance"></param>
        /// <returns>True if successful</returns>
        public bool ApproveCharity(Charity charityInstance)
        {
            bool result = false;

            try
            {
                if (CharityAccessor.ApproveCharity(charityInstance) > 0)
                {
                    result = true;
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }


            return(result);
        }