コード例 #1
0
        public IHttpActionResult Create(int taskid, [FromBody] TaskParameterCreateDto property)
        {
            if (property == null)
            {
                return(BadRequest("Invalid Property Object!"));
            }

            return(Ok(_taskService.AddParameter(taskid, property)));
        }