public void Execute(CategoryDto request)
        {
            var id = request.Id;

            var category = _context.Categories.Find(id);

            if (category == null)
            {
                throw new EntityNotFoundException(id, typeof(CategoryDto));
            }

            _validator.ValidateAndThrow(request);

            _mapper.Map(request, category);

            _context.SaveChanges();
        }