Exemplo n.º 1
0
        public IActionResult Delete([FromRoute][Required] string id)
        {
            if (_dashboardService.DeleteById(id))
            {
                return(Ok());
            }

            return(NotFound());
        }