예제 #1
0
        public ActionResult Archive([FromBody] List <int> errorIdList)
        {
            var failed = new List <int>();

            if (errorIdList != null)
            {
                failed = _service.ArchiveById(errorIdList);
            }

            if (failed.Count > 0)
            {
                return(NotFound(new { failedList = failed }));
            }

            return(Ok());
        }