Пример #1
0
        public IActionResult Delete(Guid id)
        {
            var result = _fundoCapitalRepository.GetById(id);

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

            _fundoCapitalRepository.Delete(id);
            return(Ok());
        }