/// <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); }
/// <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); }
public IEnumerable <NeedContribution> RetrieveAllContributions() { IEnumerable <NeedContribution> contributions = null; try { contributions = new UserNeedsAccessor(this.userId).RetrieveAllUsersContributions(); } catch (Exception) { } return(contributions); }
/// <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); }