public static List <ef_GetVenue_Result> GetVenueByUserId() { using (GatheringsEntities _db = new GatheringsEntities()) { return(_db.ef_GetVenue(currentUserID, null).ToList()); } }
public static List <ef_GetVenue_Result> GetAllVenues() { using (GatheringsEntities _db = new GatheringsEntities()) { return(_db.ef_GetVenue(null, null).ToList()); } }
public static List <ef_GetVenue_Result> GetVenueByVenueId(Guid venueID) { using (GatheringsEntities _db = new GatheringsEntities()) { return(_db.ef_GetVenue(null, venueID).ToList()); } }