/// <summary>
        ///
        /// Created By: Trent Cullinan 04/28/16
        /// </summary>
        /// <param name="groupId"></param>
        /// <returns></returns>
        public static IEnumerable <GardenNeed> RetrieveGroupNeeds(int groupId)
        {
            IEnumerable <GardenNeed> needs = null;

            try
            {
                needs = UserNeedsAccessor.RetrieveGroupActiveNeeds(groupId);
            }
            catch (Exception) { }

            return(needs);
        }
Example #2
0
        /// <summary>
        ///
        /// Created By: Trent Cullinan 04/28/16
        /// </summary>
        /// <param name="groupID"></param>
        /// <returns></returns>
        public static IEnumerable <GardenNeedSummary> RetrieveGroupGardensOfNeed(int groupID)
        {
            IEnumerable <GardenNeedSummary> summary = null;

            try
            {
                summary = UserNeedsAccessor.RetrieveGroupGardensOfNeed(groupID);
            }
            catch (Exception) { }

            return(summary);
        }
Example #3
0
        public IEnumerable <NeedContribution> RetrieveAllContributions()
        {
            IEnumerable <NeedContribution> contributions = null;

            try
            {
                contributions = new UserNeedsAccessor(this.userId).RetrieveAllUsersContributions();
            }
            catch (Exception) { }

            return(contributions);
        }
Example #4
0
        /// <summary>
        ///
        /// Created By: Trent Cullinan 04/28/16
        /// </summary>
        /// <returns></returns>
        public static IEnumerable <GroupNeedSummary> RetrieveGroupsOfNeed()
        {
            IEnumerable <GroupNeedSummary> summary = null;

            try
            {
                summary = UserNeedsAccessor.RetrieveGroupsOfNeed();
            }
            catch (Exception) { }

            return(summary);
        }