Пример #1
0
        public IActionResult DeleteItemFromContactList([FromBody] int Id)
        {
            ReturnMessage value = _contactListService.RemoveItem(Id);

            if (value.Error)
            {
                return(NotFound(value.Message));
            }
            else
            {
                return(Ok(value.Message));
            }
        }