Пример #1
0
        public Hero Delete(int id)
        {
            Hero value = new Hero()
            {
                Id = id
            };

            _heroRepository.DeleteHero(value.Id);
            _notificationService.DeleteHero(value);
            return(value);
        }