Exemplo n.º 1
0
        public async Task <IActionResult> Delete(string Ids)
        {
            int Id;

            if (int.TryParse(Ids, out Id))
            {
                await _service.DeleteActivity(Id);

                return(Ok());
            }
            else
            {
                return(NotFound());
            }
        }