예제 #1
0
        public async Task <ActionResult <ActivitiesDTO> > GetActivities(int id)
        {
            var activities = await _context.GetActivity(id);


            if (activities == null)
            {
                return(NotFound());
            }

            return(activities);
        }