//Idempotent method
        public async Task <Unit> Handle(DeleteCowCommand request, CancellationToken cancellationToken)
        {
            var model = await _snapShotRepository.DeleteAsync(request.Id);

            if (model != default)
            {
                await _eventRepository.DeleteAsync(model);
            }
            return(Unit.Value);
        }