Example #1
0
        public async Task <ActionResult> Delete(Guid id)
        {
            var modulo = await _moduloRepository.GetByIdNoTracking(id);

            if (modulo == null)
            {
                return(NotFound());
            }

            await _moduloService.Delete(id);

            return(NoContent());
        }