public ResponseStatus GetActivityIds(ref List <int> activitiesId) { ResponseStatus resp = ResponseStatus.NONE; activityDal = new ActivityDAL(); //List<int> activitiesId = null; if (activityDal.GetActivitiesId(ref activitiesId)) { resp = ResponseStatus.SUCCESS; } else { resp = ResponseStatus.FAILED; } activityDal.ReturnUnitToPool(); return(resp); }