Пример #1
0
        // GET: api/results/{id}/details/{param}
        public IHttpActionResult Get(int id, int param)
        {
            var detail = repository.GetResultDetail(id, param);

            if (detail == null)
            {
                return(NotFound());
            }
            return(Json(new TestResultDetailDTO(detail)));
        }