Esempio n. 1
0
        public async Task <IActionResult> Archive([FromBody] List <long> ids)
        {
            await _itemRepository.ArchiveByIDs(ids);

            await _itemRepository.SaveChanges();

            return(StatusCode((int)HttpStatusCode.NoContent));
        }