public ActionResult <RestaurantInfo> GetInfoAboutRestaurant(int restaurantId)
        {
            try
            {
                var     result = _repository.GetRestaurantInfo(restaurantId);
                IMapper mapper = EDeliveryProfile.RestaurantInfo();

                return(mapper.Map <RestaurantInfo>(result));
            }
            catch (Exception ex)
            {
                _logger.LogInformation($"Failed to get the restaurant by Id:{ex}");
                return(BadRequest("Failed to get the restaurant by Id"));
            }
        }