public IActionResult DeleteItemFromContactList([FromBody] int Id) { ReturnMessage value = _contactListService.RemoveItem(Id); if (value.Error) { return(NotFound(value.Message)); } else { return(Ok(value.Message)); } }
public IActionResult DeleteItemFromContactList([FromBody] int Id) { ReturnMessage value = _contactListService.RemoveItem(Id); if (value.Error) { return(NotFound(value.Message)); } else { return(Ok(value.Message)); } }