/// <summary> /// /// Created By: Trent Cullinan 04/28/16 /// </summary> /// <param name="gardenId"></param> /// <returns></returns> public static IEnumerable <GardenNeed> RetrieveGardenNeeds(int gardenId) { IEnumerable <GardenNeed> needs = null; try { needs = GardenNeedsAccessor.RetrieveActiveGardenNeeds(gardenId); } catch (Exception) { } return(needs); }
/// <summary> /// /// Created By: Trent Cullinan 04/28/16 /// </summary> /// <param name="needID"></param> /// <returns></returns> public static GardenNeed RetrieveNeed(int needID) { GardenNeed need = null; try { need = GardenNeedsAccessor.RetrieveGardenNeed(needID); } catch (Exception) { } return(need); }