コード例 #1
0
        public IHttpActionResult SetAlert(string id, [FromBody]UserAlert userAlert)
        {
            UserAlert result;

            using (var reportsService = new ReportsService())
            {
                result = reportsService.SetAlert(id, userAlert);
            }

            return Ok(userAlert);
        }