Пример #1
0
        public IHttpActionResult GetStageActivities([FromUri] Guid activityId)
        {
            try
            {
                //if (activityId.IsNullOrEmpty())
                //    return BadRequest("Invalid activity id received.");

                return(Ok(_activitiesService.GetStageActivities(activityId)));
            }
            catch (Exception ex)
            {
                return(InternalServerError(ex));
            }
        }