Exemplo n.º 1
0
        public IHttpActionResult PendingBooks([FromBody] IntDTO idt)
        {
            if (idt.bId != null)
            {
                foreach (var item in idt.bId)
                {
                    repo.Accept(item);
                }

                return(StatusCode(HttpStatusCode.Created));
            }

            return(StatusCode(HttpStatusCode.NoContent));
        }