示例#1
0
        // Search Title
        //public async Task<TranStatus> searchTitle(string Title)
        //{
        //    using (activityRepository = new ActivityRepository())
        //    {
        //        return await activityRepository.searchTitle(Title);
        //    }
        //}

        //public async Task<List<ActivityListModel>> searchTitle(int aid)
        //{
        //    using (activityRepository = new ActivityRepository())
        //    {
        //        return await activityRepository.searchTitle(aid);
        //    }
        //}

        //public async Task<List<ActivityListModel>> searchTitle()
        //{
        //    using (activityRepository = new ActivityRepository())
        //    {
        //        return await activityRepository.searchTitle();
        //    }
        //}

        //public async Task<TranStatus> searchTitle(ActivityListModel model)
        //{
        //    using (activityRepository = new ActivityRepository())
        //    {
        //        return await activityRepository.searchTitle(model);
        //    }
        //}

        // Activity Lat Long
        public async Task <List <Activity_Location_Model> > Activity_Location(int aid)
        {
            using (activityRepository = new ActivityRepository())
            {
                return(await activityRepository.Activity_Location(aid));
            }
        }