Esempio n. 1
0
        public IActionResult EditList([FromBody] EditListDto editListDto, int id)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var result = _listService.EditList(editListDto, id);

            if (!result)
            {
                return(BadRequest());
            }

            return(NoContent());
        }