public async Task <IActionResult> GetSnackByName([FromQuery] string name)
        {
            var data = await _repoSnack.GetSnackByName(name);

            if (data == null)
            {
                return(NotFound());
            }
            else
            {
                return(Ok(new GetProductsResponseDto
                {
                    Id = data.snackId,
                    Name = data.snackName,
                    Likes = data.snackLikes,
                    Price = data.snackPrice,
                    Stock = data.snackQuantity,
                }));
            }
        }